Skip to content

Commit 5b17a94

Browse files
committed
test: update test fixtures for resolving and lexical scoping stages
Synchronize test fixtures for pass_resolving and pass_resolving_final, removing redundant test stages and consolidating test cases. Update test stages in stages_test.go to reflect simplified resolving test configuration.
1 parent 7cf4534 commit 5b17a94

File tree

3 files changed

+358
-302
lines changed

3 files changed

+358
-302
lines changed

internal/stages_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ func TestStages(t *testing.T) {
7676
NormalizeOutputFunc: normalizeTesterOutput,
7777
},
7878
"pass_resolving_inprogress_jlox": {
79-
StageSlugs: []string{"r1", "r2", "r3", "r4", "r5", "r6", "r7"},
79+
StageSlugs: []string{"r1", "r4", "r5", "r6", "r7"},
8080
CodePath: "../craftinginterpreters/build/gen/chap11_resolving",
8181
ExpectedExitCode: 0,
8282
StdoutFixturePath: "./test_helpers/fixtures/pass_resolving",
8383
NormalizeOutputFunc: normalizeTesterOutput,
8484
},
8585
"pass_resolving_completed_jlox": {
86-
StageSlugs: []string{"r1", "r2", "r3", "r4", "r5", "r6", "r7"},
86+
StageSlugs: []string{"r1", "r4", "r5", "r6", "r7"},
8787
CodePath: "../craftinginterpreters/build/gen/chap13_inheritance",
8888
ExpectedExitCode: 0,
8989
StdoutFixturePath: "./test_helpers/fixtures/pass_resolving_final",

0 commit comments

Comments
 (0)