Skip to content

Commit

Permalink
Undo redundant parse
Browse files Browse the repository at this point in the history
  • Loading branch information
drew-y committed Aug 30, 2024
1 parent 6dd506e commit 1c858e6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/semantics/__tests__/modules.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ import { List } from "../../syntax-objects/list.js";
describe("modules", () => {
it("should register modules", () => {
const result = registerModules(input);
assert.deepStrictEqual(
JSON.parse(JSON.stringify(result.toJSON())),
JSON.parse(JSON.stringify(output))
);
assert.deepStrictEqual(JSON.parse(JSON.stringify(result)), output);
});
});

Expand Down

0 comments on commit 1c858e6

Please sign in to comment.