Skip to content

Commit a3f1ae9

Browse files
committed
Tests: fix index typo
The comparison previously succeeded by chance on 64-bit platforms, but didn't pass on ones that have a smaller pointer width.
1 parent ba7eb04 commit a3f1ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regression/cbmc/havoc_slice/test_struct_raw_bytes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ void main(void)
3636
__CPROVER_assert(c[16] == old_c[16], "expecting FAILURE");
3737
__CPROVER_assert(c[17] == old_c[17], "expecting FAILURE");
3838
__CPROVER_assert(c[18] == old_c[18], "expecting SUCCESS");
39-
__CPROVER_assert(c[19] == old_c[20], "expecting SUCCESS");
39+
__CPROVER_assert(c[19] == old_c[19], "expecting SUCCESS");
4040
return;
4141
}

0 commit comments

Comments
 (0)