aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test')
-rw-r--r--stdlib/source/test/lux/data/text.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/test/lux/data/text.lux b/stdlib/source/test/lux/data/text.lux
index 8102ae30e..b5c9f433b 100644
--- a/stdlib/source/test/lux/data/text.lux
+++ b/stdlib/source/test/lux/data/text.lux
@@ -274,7 +274,7 @@
#0)))
(_.cover [/.clip /.clip']
(|> [(/.clip 0 sizeL sample)
- (/.clip sizeL (/.size sample) sample)
+ (/.clip sizeL (n.- sizeL (/.size sample)) sample)
(/.clip' sizeL sample)
(/.clip' 0 sample)]
(case> [(#.Right _l) (#.Right _r) (#.Right _r') (#.Right _f)]