Skip to content

Commit 170d10b

Browse files
committed
fix: bug in packaging-tests due to change to extractExamples
1 parent 34c30b6 commit 170d10b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/ohm-js/src/version.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/packaging-tests/test/test-ts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ test('Extras exports (TS)', async () => {
2323
assert.ok(Object.keys(extras).length === 6);
2424

2525
const ex: {grammar: string; rule: string; example: string; shouldMatch: boolean} =
26-
extras.extractExamples('//+ ""\nG{}')[0];
26+
extras.extractExamples('G{//+ ""\n}')[0];
2727
assert.equal(ex.grammar, 'G');
2828

2929
const exports = await import('ohm-js/extras');

0 commit comments

Comments
 (0)