Added more tests
This commit is contained in:
parent
a562f521b6
commit
6ebd1829fb
5 changed files with 6 additions and 9 deletions
1
tests/errors/ExpectedPackageName.q
Normal file
1
tests/errors/ExpectedPackageName.q
Normal file
|
@ -0,0 +1 @@
|
|||
import
|
|
@ -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"}},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue