Skip to content

Commit b1e6f49

Browse files
committed
Update comments in regression tests
In pointer-to-array-char: remove redundant commented-out assert. In pointer-to-array-int: add description of future checks.
1 parent b30bb65 commit b1e6f49

File tree

2 files changed

+2
-1
lines changed
  • regression/snapshot-harness

2 files changed

+2
-1
lines changed

regression/snapshot-harness/pointer-to-array-char/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,5 @@ int main()
2424

2525
assert(first == second);
2626
assert(second[array_size - 1] == 'a');
27-
// assert(second[10]=='0');
2827
return 0;
2928
}

regression/snapshot-harness/pointer-to-array-int/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ int main()
3131
checkpoint();
3232

3333
assert(first == second);
34+
// The following assertions will be check in the following PR once
35+
// dynamically allocated snapshots are properly implemented.
3436
/* assert(array_size >= prefix_size); */
3537
/* assert(prefix_size >= 0); */
3638
/* assert(second[prefix_size] != 6); */

0 commit comments

Comments
 (0)