From 5bd8d2759e9c5882434e7a8e685d1e4f0b48ce39 Mon Sep 17 00:00:00 2001 From: BCG Date: Tue, 17 Mar 2015 12:31:48 -0400 Subject: [PATCH] Switched test harness from calling avian.FormatString to use java.lang.String.format() instead --- test/FormatStrings.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/test/FormatStrings.java b/test/FormatStrings.java index 799840e277..32e8305012 100644 --- a/test/FormatStrings.java +++ b/test/FormatStrings.java @@ -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); }