diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dimension/directives.pov | 2 | ||||
-rwxr-xr-x | tests/dimension/directives.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/dimension/directives.pov b/tests/dimension/directives.pov index 5137cd2..416bbf5 100644 --- a/tests/dimension/directives.pov +++ b/tests/dimension/directives.pov @@ -42,7 +42,7 @@ #declare Counter = 0; #while (Counter < 2) - #if (#if (1 = 1) 0 #end = 0 & 0) + #if (#if (1 = 1) 0 #end = 0 & !1) #error "Nested #if parsing failed" #else sphere { diff --git a/tests/dimension/directives.sh b/tests/dimension/directives.sh index 74bde02..42815a6 100755 --- a/tests/dimension/directives.sh +++ b/tests/dimension/directives.sh @@ -37,7 +37,7 @@ directives_exp="$(echo -n \ #end #declare (identifier "Counter") = (integer "0") ; #while \( (identifier "Counter") < (integer "2") \) - #if \( #if \( (integer "1") = (integer "1") \) (integer "0") #end = (integer "0") & (integer "0") \) + #if \( #if \( (integer "1") = (integer "1") \) (integer "0") #end = (integer "0") & ! (integer "1") \) #error (string "Nested #if parsing failed") #else sphere { |