Change the gui
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ Deno.test("broken .bmod files are turned away, saying why", () => {
|
||||
"scripts.server scripts/server.js isn't in the file",
|
||||
);
|
||||
// a texture that isn't 16x16
|
||||
const ui = Deno.readFileSync("assets/sprites/ui.png");
|
||||
const ui = Deno.readFileSync("assets/sprites/gui.png");
|
||||
assertThrows(
|
||||
() =>
|
||||
read_bmod(
|
||||
|
||||
@@ -92,7 +92,7 @@ Deno.test("check-mods finds broken mods", async () => {
|
||||
},
|
||||
});
|
||||
// wrong texture size
|
||||
Deno.copyFileSync("assets/sprites/ui.png", `${mod}/textures/huge.png`);
|
||||
Deno.copyFileSync("assets/sprites/gui.png", `${mod}/textures/huge.png`);
|
||||
// a script that doesn't typecheck
|
||||
Deno.writeTextFileSync(`${mod}/scripts/client.ts`, "export function setup(ctx: number) { ctx.nope(); }\n");
|
||||
// a dependency that isn't installed, and no longer depending on bworld
|
||||
|
||||
Reference in New Issue
Block a user