Skip to content

Commit 5329ce0

Browse files
committed
fix tests
1 parent c5b1405 commit 5329ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/unit/snbt_importing.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ it("should apply a hex color to a text node", async () => {
4343
it("should throw an error if the format is invalid", async () => {
4444
const broken = await readTestDataFile("bad/broken.snbt");
4545
const converted = convertToTextOrEmpty(broken);
46-
expect(converted.toString()).toMatch(
46+
expect(converted.toString()).toContain(
4747
/An error occurred while parsing the SNBT/,
4848
);
4949
});

0 commit comments

Comments
 (0)