Added more tests

This commit is contained in:
2025-02-07 21:25:29 +01:00
parent 5fc9cc4dff
commit cba26d8154
5 changed files with 6 additions and 9 deletions

View File

@ -0,0 +1 @@
import

View File

@ -20,6 +20,7 @@ var errs = []struct {
{"ExpectedIfBeforeElse.q", errors.ExpectedIfBeforeElse},
{"ExpectedIfBeforeElse2.q", errors.ExpectedIfBeforeElse},
{"ExpectedStructName.q", errors.ExpectedStructName},
{"ExpectedPackageName.q", errors.ExpectedPackageName},
{"InvalidInstructionExpression.q", &errors.InvalidInstruction{Instruction: "+"}},
{"InvalidInstructionIdentifier.q", &errors.InvalidInstruction{Instruction: "abc"}},
{"InvalidInstructionNumber.q", &errors.InvalidInstruction{Instruction: "123"}},