From 789497e2ca25c8189fb2466f34dda054d99453b1 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 12 Jul 2025 15:06:02 -0400 Subject: Doctests now use equality checking instead of text comparisons --- test/sets.tm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'test/sets.tm') diff --git a/test/sets.tm b/test/sets.tm index 85e53463..b30c2ce3 100644 --- a/test/sets.tm +++ b/test/sets.tm @@ -1,7 +1,8 @@ func main() - >> t1 := @|10, 20, 30, 10| - = @|10, 20, 30| + t1 := @|10, 20, 30, 10| + >> t1[] + = |10, 20, 30| >> t1.has(10) = yes >> t1.has(-999) @@ -29,11 +30,11 @@ func main() = no >> t1.add_all(t2) - >> t1 - = @|10, 20, 30, 40| + >> t1[] + = |10, 20, 30, 40| >> t1.remove_all(t2) - >> t1 - = @|10, 20| + >> t1[] + = |10, 20| >> |3, i for i in 5| = |3, 1, 2, 4, 5| -- cgit v1.2.3