Skip to content

Commit

Permalink
fix test annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
jcp19 committed Nov 27, 2024
1 parent c6f1d87 commit 0a41811
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ package pkg
requires 0 < len(xs)
func foo(ghost xs seq[bool]) {
ghost {
//:: ExpectedOutput(for_loop_error:seq_index_exceeds_length_error)
decreases
//:: ExpectedOutput(for_loop_error:seq_index_exceeds_length_error)
for ;xs[42]; { break }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ package pkg

requires 0 < len(xs)
func foo(ghost xs seq[bool]) {
//:: ExpectedOutput(for_loop_error:seq_index_negative_error)
ghost {
decreases
//:: ExpectedOutput(for_loop_error:seq_index_negative_error)
for ;xs[-1]; { break }
}
}

0 comments on commit 0a41811

Please sign in to comment.