Added some expected-error tests
This commit is contained in:
parent
81d5a545cf
commit
796a4cdc91
|
@ -156,6 +156,14 @@ endBlock
|
|||
|
||||
title "ShouldError"
|
||||
check "LenOfNotList" "(len 5)" "NOT_A_LIST"
|
||||
check "NoMapList" "(map sq)" "( )"
|
||||
check "UnevenLists" "(+ (1 2) (1 2 3))" "LISTS_NOT_SAME_SIZE"
|
||||
check "BadSymbol" "(5df)" "SYMBOLS_START_WITH_LETTERS"
|
||||
check "BadParens" "(hey()" "MISMATCHED_PARENS"
|
||||
check "BadParens2" "(hey)(" "MISMATCHED_PARENS"
|
||||
check "BadParens3" "((hey(" "MISMATCHED_PARENS"
|
||||
check "BadParens4" ")))hey" "MISMATCHED_PARENS"
|
||||
check "BadParens5" "hey))(" "MISMATCHED_PARENS"
|
||||
endBlock
|
||||
|
||||
# title "Environment"
|
||||
|
|
Loading…
Reference in New Issue