Skip to content

Commit ceb8ab7

Browse files
Adding a test with multiple arguments
Marked as THOROUGH as it takes around 20 seconds to run
1 parent 1d99413 commit ceb8ab7

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed
Binary file not shown.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
THOROUGH
2+
test.class
3+
--refine-strings --string-max-length 20
4+
^EXIT=10$
5+
^SIGNAL=0$
6+
^\[.*assertion.1\].* line 7.* SUCCESS$
7+
^\[.*assertion.2\].* line 9.* FAILURE$
8+
--
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
public class test
2+
{
3+
public static String main(boolean b)
4+
{
5+
String s = String.format("%s%s%s%s%s%s%s%s", "a", "b", "c", "d", "e", "f", "g", "h");
6+
if(b)
7+
assert(s.equals("abcdefgh"));
8+
else
9+
assert(!s.equals("abcdefgh"));
10+
return s;
11+
}
12+
}

0 commit comments

Comments
 (0)