Skip to content

Commit 2ee674e

Browse files
committed
feat: add new test case for inheritance stage in stages_test.go
1 parent c22276e commit 2ee674e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

internal/stages_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@ func TestStages(t *testing.T) {
103103
StdoutFixturePath: "./test_helpers/fixtures/pass_classes_final",
104104
NormalizeOutputFunc: normalizeTesterOutput,
105105
},
106+
"pass_inheritance_jlox": {
107+
StageSlugs: []string{"i1", "i2", "i3", "i4", "i5"},
108+
CodePath: "../craftinginterpreters/build/gen/chap13_inheritance",
109+
ExpectedExitCode: 0,
110+
StdoutFixturePath: "./test_helpers/fixtures/pass_inheritance",
111+
NormalizeOutputFunc: normalizeTesterOutput,
112+
},
106113
}
107114

108115
tester_utils_testing.TestTesterOutput(t, testerDefinition, testCases)

0 commit comments

Comments
 (0)