summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSon Ho2024-06-12 18:40:27 +0200
committerSon Ho2024-06-12 18:40:27 +0200
commit19abb19134efe0b16409f955b13af36262f231a8 (patch)
tree51d7148c8a5ce7464dde94844d77a1e03dfde65e /tests
parent79e19aa701086de9f080357d817284559f900bcc (diff)
Update the code extraction and regenerate the tests
Diffstat (limited to 'tests')
-rw-r--r--tests/lean/Matches.lean4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lean/Matches.lean b/tests/lean/Matches.lean
index 3e3a558b..9233841b 100644
--- a/tests/lean/Matches.lean
+++ b/tests/lean/Matches.lean
@@ -9,8 +9,8 @@ namespace matches
Source: 'tests/src/matches.rs', lines 4:0-4:27 -/
def match_u32 (x : U32) : Result U32 :=
match x with
- | 0#u32 => Result.ok 0#u32
- | 1#u32 => Result.ok 1#u32
+ | 0#scalar => Result.ok 0#u32
+ | 1#scalar => Result.ok 1#u32
| _ => Result.ok 2#u32
end matches