Skip to content

Commit 334714a

Browse files
Add trace check in StringBuilder test for empty array
This tests would fail before the fix to the symex constant propagation of strings.
1 parent 7a3202b commit 334714a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
CORE
22
StringBuilderConstructors01.class
3-
--function StringBuilderConstructors01.noArgFail --max-nondet-string-length 1000
3+
--function StringBuilderConstructors01.noArgFail --max-nondet-string-length 1000 --trace
44
^EXIT=10$
55
^SIGNAL=0$
66
^VERIFICATION FAILED$
7+
dynamic_object2=\{\s*\}
78
--
89
^warning: ignoring
10+
--
11+
The check for dynamic_object2 is to make sure the array is created empty and
12+
is not given arbitrary content before its final assignment.

0 commit comments

Comments
 (0)