diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-04-30 14:50:25 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-04-30 14:50:43 -0700 |
| commit | 35a553918568cd72a0445251bc6b170ed4201557 (patch) | |
| tree | cfdba2203c8de4edae41f3a7af98997672b42738 /tests/operators.nom | |
| parent | bf24824660497189da1a7d03b524e648271b4d03 (diff) | |
Fix for math expression parsing
Diffstat (limited to 'tests/operators.nom')
| -rw-r--r-- | tests/operators.nom | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/operators.nom b/tests/operators.nom index 40c503f..6a749d8 100644 --- a/tests/operators.nom +++ b/tests/operators.nom @@ -40,7 +40,7 @@ with {%z:nil, %x:999} assume (%x = 1) or barf "'with' scoping failed" assume (%z = (nil)) or barf "'with' scoping failed" -assume ((1+2*3-4/2^2) = 6) or barf "math expressions not working properly" +assume ((1 + 2*3 - 4/2^2) = 6) or barf "math expressions not working properly" assume ((5 wrapped around 2) = 1) or barf "mod not working" assume (1 <= 2 < 3) or barf "chained operator fail." %value <- -999 |
