aboutsummaryrefslogtreecommitdiff
path: root/stdlib/test
diff options
context:
space:
mode:
authorEduardo Julian2018-08-20 18:53:08 -0400
committerEduardo Julian2018-08-20 18:53:08 -0400
commitbbf5fb06275b3eef9c9209713e1d667b41d8ec47 (patch)
tree8b27f028dd5b6f5a7cec4f9cc90aa3f5e9b7cbc1 /stdlib/test
parentcdc41f99c2c5ca860f13ead6b13fb2ad57b0673b (diff)
Fixed syntax bug.
Diffstat (limited to 'stdlib/test')
-rw-r--r--stdlib/test/test/lux/compiler/default/syntax.lux3
1 files changed, 1 insertions, 2 deletions
diff --git a/stdlib/test/test/lux/compiler/default/syntax.lux b/stdlib/test/test/lux/compiler/default/syntax.lux
index e52a6ea02..2b4a8f5b6 100644
--- a/stdlib/test/test/lux/compiler/default/syntax.lux
+++ b/stdlib/test/test/lux/compiler/default/syntax.lux
@@ -3,7 +3,6 @@
[control
[monad (#+ do)]]
[data
- [number]
["e" error]
["." text
format
@@ -123,7 +122,7 @@
(test "Can parse frac ratio syntax."
(case (&.read "" (dict.new text.Hash<Text>)
[default-cursor 0
- (format (if signed? "-" "")
+ (format (if signed? "-" "+")
(%i (frac-to-int numerator))
"/"
(%i (frac-to-int denominator)))])