aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-06 14:46:15 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-06 14:46:15 -0400
commitd8a48f64111f542f3afeb5d6e47ff092f9278d9f (patch)
tree07c364503025bb2a26edd7b26f1ba9e8d25340f6 /test
parent12345a85d9c7d7a56ddf323247a4bdf347021b73 (diff)
parent73246764f88f6f652316ee0c138a990d836698a7 (diff)
Merge branch 'main' into optional-list-indexing
Diffstat (limited to 'test')
-rw-r--r--test/enums.tm3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/enums.tm b/test/enums.tm
index 03eb6028..9a0188a2 100644
--- a/test/enums.tm
+++ b/test/enums.tm
@@ -61,9 +61,10 @@ func main()
i := 1
cases := [Foo.One(1), Foo.One(2), Foo.Zero]
- while when cases[i]! is One(x)
+ repeat when cases[i]! is One(x)
>> x
i += 1
+ else stop
>> [
(