mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
Switched test harness from calling avian.FormatString to use java.lang.String.format() instead
This commit is contained in:
parent
a8bed52097
commit
5bd8d2759e
@ -8,14 +8,6 @@
|
||||
There is NO WARRANTY for this software. See license.txt for
|
||||
details. */
|
||||
|
||||
import avian.FormatString;
|
||||
import java.net.URL;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.StringWriter;
|
||||
import java.io.BufferedReader;
|
||||
import java.io.InputStreamReader;
|
||||
|
||||
/*
|
||||
* @author bcg
|
||||
*/
|
||||
@ -36,7 +28,7 @@ public class FormatStrings {
|
||||
}
|
||||
|
||||
private void _testFormat(String expected, String format, Object... args) {
|
||||
String actual = FormatString.compile(format).format(args);
|
||||
String actual = String.format(format, args);
|
||||
ensureEquals(expected, actual);
|
||||
System.err.println("Expected: " + expected + ", Actual: " + actual);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user