Added more tests

This commit is contained in:
Eduard Urbach 2025-02-07 21:25:29 +01:00
parent a562f521b6
commit 6ebd1829fb
Signed by: eduard
GPG key ID: 49226B848C78F6C8
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"}},