Skip to content

Commit 078a4d0

Browse files
Use matching filename in tokenizer test (#2513)
1 parent e3dbefa commit 078a4d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/tokenizer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const dirname = path.dirname(fileURLToPath(import.meta.url));
77

88
const file = process.argv.length > 2 ? process.argv[2] : path.join(dirname, "..", "src", "tokenizer.ts");
99
const text = fs.readFileSync(file).toString();
10-
const source = new Source(SourceKind.ENTRY, "compiler.ts", text);
10+
const source = new Source(SourceKind.ENTRY, "tokenizer.ts", text);
1111
const tn = new Tokenizer(source);
1212

1313
do {

0 commit comments

Comments
 (0)