From 1fd40f199740e0d77a972befc9674572f9168d88 Mon Sep 17 00:00:00 2001 From: markw65 Date: Tue, 29 Mar 2022 16:32:40 -0700 Subject: [PATCH] Update test/unit/compiler/passes/generate-bytecode.spec.js Co-authored-by: Mingun --- test/unit/compiler/passes/generate-bytecode.spec.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/unit/compiler/passes/generate-bytecode.spec.js b/test/unit/compiler/passes/generate-bytecode.spec.js index f346df57..57615520 100644 --- a/test/unit/compiler/passes/generate-bytecode.spec.js +++ b/test/unit/compiler/passes/generate-bytecode.spec.js @@ -64,7 +64,11 @@ describe("compiler pass |generateBytecode|", () => { ].join("\n"), bytecodeLocationDetails( [37, 0, 18, 0, 2, 2, 22, 0, 23, 0, 38], [ - { source: "-", start: { line:1, column:5, offset:4 }, end: { line:1, column:8, offset:7 } }, + { + source: "-", + start: { offset: 4, line: 1, column: 5 }, + end: { offset: 7, line: 1, column: 8 }, + }, ] ), { grammarSource: "-",