Added more tests
This commit is contained in:
parent
2b9cecd62b
commit
5f3cb22779
8 changed files with 73 additions and 13 deletions
|
@ -1,9 +1,7 @@
|
|||
package errors
|
||||
|
||||
var (
|
||||
CouldNotInferType = &Base{"Couldn't infer type"}
|
||||
EmptySwitch = &Base{"Empty switch"}
|
||||
ExpectedFunctionName = &Base{"Expected function name"}
|
||||
ExpectedFunctionParameters = &Base{"Expected function parameters"}
|
||||
ExpectedFunctionDefinition = &Base{"Expected function definition"}
|
||||
ExpectedIfBeforeElse = &Base{"Expected an 'if' block before 'else'"}
|
||||
|
@ -24,4 +22,5 @@ var (
|
|||
MissingParameter = &Base{"Missing parameter"}
|
||||
MissingType = &Base{"Missing type"}
|
||||
NotImplemented = &Base{"Not implemented"}
|
||||
UntypedExpression = &Base{"Untyped expression"}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue