Skip to content

Commit 8ef17b0

Browse files
committed
formatting
1 parent e04f8d3 commit 8ef17b0

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

packages/wasm/test/test-failurePos.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@ import assert from 'node:assert/strict';
33
import fc from 'fast-check';
44
import {readFileSync} from 'node:fs';
55
import * as ohm from 'ohm-js';
6-
import process from 'node:process';
76

87
import {scriptRel, wasmMatcherForGrammar} from './_helpers.js';
98

10-
const verbose = process.argv.slice(2).includes('--verbose');
11-
129
const grammarSource = readFileSync(scriptRel('data/liquid-html.ohm'), 'utf8');
1310
const ns = ohm.grammars(grammarSource);
1411

packages/wasm/test/test-wasm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ test('space skipping & lex', async t => {
954954
}
955955
});
956956

957-
// fast-check's stringMatching combiner doesn't support unicode regexes.
957+
// Because fast-check's `stringMatching` doesn't support unicode regexes.
958958
const arbitraryStringMatching = regex =>
959959
fc.string({maxLength: 2, unit: 'binary'}).filter(str => regex.test(str));
960960

0 commit comments

Comments
 (0)