File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
regression/strings/StringIndexMethods04 Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 11public class StringIndexMethods04
22{
33 public static void main (String [] args )
4+ {
5+ String letters = "onatdiffblue" ;
6+ assert letters .indexOf ("diffblue" )==2 ;
7+ }
8+
9+ public static void mainBug (String [] args )
410 {
511 String letters = "automatictestcasegenerationatdiffblue" ;
612 assert letters .indexOf ("diffblue" )==28 ;
Original file line number Diff line number Diff line change 1+ KNOWNBUG
2+ StringIndexMethods04.class
3+ --refine-strings --string-max-length 1000 --function StringIndexMethods04.mainBug
4+ ^EXIT=10$
5+ ^SIGNAL=0$
6+ ^\[.*assertion\.1\] .* line 6 .* FAILURE$
7+ ^VERIFICATION FAILED$
8+ --
9+ ^warning: ignoring
10+ --
11+ This test can randomly fail because the solver does not come up with the right
12+ model on the first iteration and the constraint instatiation adds too many things.
You can’t perform that action at this time.
0 commit comments