Skip to content

Commit 8ad582d

Browse files
committed
.
1 parent 4a31425 commit 8ad582d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ir.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1943,6 +1943,7 @@ def test_match_int(self) -> None:
19431943

19441944
def test_call_match_int(self) -> None:
19451945
self.assertEqual(_run("(| 1 -> 2) 1"), "2\n")
1946+
self.assertEqual(_run("(| 1 -> 2 | 3 -> 4) 3"), "4\n")
19461947

19471948
def test_match_list(self) -> None:
19481949
self.assertEqual(_run("f [1, 2] . f = | [1, 2] -> 3 | [4, 5] -> 6"), "3\n")

0 commit comments

Comments
 (0)