added extra default arguments - shame we can't reuse default argument methods from java code
This commit is contained in:
@@ -17,7 +17,7 @@ public class CollectionTest extends TestCase {
|
||||
public void testCollections() throws Exception {
|
||||
List<String> list = arrayList("foo", "bar");
|
||||
|
||||
String text = makeString(list, ",", "(", ")", -1);
|
||||
String text = makeString(list, ",", "(", ")", -1, "...");
|
||||
System.out.println("Have text: " + text);
|
||||
assertEquals("(foo,bar)", text);
|
||||
|
||||
@@ -29,6 +29,6 @@ public class CollectionTest extends TestCase {
|
||||
});
|
||||
|
||||
System.out.println("Filtered list is " + actual);
|
||||
assertEquals("(bar)", makeString(actual, ",", "(", ")", -1));
|
||||
assertEquals("(bar)", makeString(actual, ",", "(", ")", -1, "..."));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user