From c5e7197db03de186bbdd2d0235bf1669c378cbc9 Mon Sep 17 00:00:00 2001 From: Antti Holvikari Date: Sat, 7 Oct 2023 10:25:41 +0300 Subject: [PATCH] Fix `toStringWith` tests for `Fixed` --- test/Test/Main.purs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Test/Main.purs b/test/Test/Main.purs index 98e466d..d170ede 100644 --- a/test/Test/Main.purs +++ b/test/Test/Main.purs @@ -136,11 +136,11 @@ numbersTestCode = do } assertEqual { expected: "3" - , actual: toStringWith (precision 0) pi + , actual: toStringWith (fixed 0) pi } assertEqual { expected: "3" - , actual: toStringWith (precision (-3)) pi + , actual: toStringWith (fixed (-3)) pi } assertEqual { expected: "1234.5"