summaryrefslogtreecommitdiff
path: root/tests/fstar/arrays
diff options
context:
space:
mode:
authorNadrieril2024-06-04 17:42:46 +0200
committerNadrieril2024-06-05 09:40:53 +0200
commit8a1adfb37d2cf295d8caed1dfdd4f7475bb19283 (patch)
tree7890e9455f983bcd8cb2c16554f5882daac5d510 /tests/fstar/arrays
parent5b7fc57cdc6bc5cff8373e6aa8df383278c9cf63 (diff)
Update charon
Diffstat (limited to 'tests/fstar/arrays')
-rw-r--r--tests/fstar/arrays/Arrays.Funs.fst2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fstar/arrays/Arrays.Funs.fst b/tests/fstar/arrays/Arrays.Funs.fst
index 26a695bb..a4f2e19f 100644
--- a/tests/fstar/arrays/Arrays.Funs.fst
+++ b/tests/fstar/arrays/Arrays.Funs.fst
@@ -348,7 +348,7 @@ let rec sum2_loop
let sum2 (s : slice u32) (s2 : slice u32) : result u32 =
let i = slice_len u32 s in
let i1 = slice_len u32 s2 in
- if not (i = i1) then Fail Failure else sum2_loop s s2 0 0
+ if i = i1 then sum2_loop s s2 0 0 else Fail Failure
(** [arrays::f0]:
Source: 'tests/src/arrays.rs', lines 266:0-266:11 *)