aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/data/number.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/data/number.lux')
-rw-r--r--stdlib/source/test/lux/data/number.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/test/lux/data/number.lux b/stdlib/source/test/lux/data/number.lux
index d1d812aa9..d8e769369 100644
--- a/stdlib/source/test/lux/data/number.lux
+++ b/stdlib/source/test/lux/data/number.lux
@@ -25,9 +25,9 @@
["#." ratio]
["#." complex]])
-(def: clean-commas
+(def: clean_commas
(-> Text Text)
- (text.replace-all "," ""))
+ (text.replace_all "," ""))
(def: #export test
Test
@@ -35,7 +35,7 @@
($_ _.and
(_.cover [/.bin]
(`` (and (~~ (template [<=> <codec> <number>]
- [(case (\ <codec> decode (..clean-commas <number>))
+ [(case (\ <codec> decode (..clean_commas <number>))
(#try.Success actual)
(<=> (/.bin <number>) actual)
@@ -56,7 +56,7 @@
)))))
(_.cover [/.oct]
(`` (and (~~ (template [<=> <codec> <number>]
- [(case (\ <codec> decode (..clean-commas <number>))
+ [(case (\ <codec> decode (..clean_commas <number>))
(#try.Success actual)
(<=> (/.oct <number>) actual)
@@ -77,7 +77,7 @@
)))))
(_.cover [/.hex]
(`` (and (~~ (template [<=> <codec> <number>]
- [(case (\ <codec> decode (..clean-commas <number>))
+ [(case (\ <codec> decode (..clean_commas <number>))
(#try.Success actual)
(<=> (/.hex <number>) actual)