From 44719c3ac6c5decf15e7a6bab5045c971a5bd689 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Sat, 12 Oct 2019 14:12:14 -0400 Subject: Swap tests to using compilation. Tests now the compilation feature, so that is being tested thoroughly. Now to get to going through and switching all the directives that use strings to use CLStrings instead --- clformat/src/test/java/bjc/utils/test/ioutils/CLFormatterTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'clformat/src/test/java') diff --git a/clformat/src/test/java/bjc/utils/test/ioutils/CLFormatterTest.java b/clformat/src/test/java/bjc/utils/test/ioutils/CLFormatterTest.java index 2ceab42..4463488 100644 --- a/clformat/src/test/java/bjc/utils/test/ioutils/CLFormatterTest.java +++ b/clformat/src/test/java/bjc/utils/test/ioutils/CLFormatterTest.java @@ -141,7 +141,9 @@ public class CLFormatterTest { private String format(String str, Object... params) { try { - return fmt.formatString(str, params); + CLString strang = fmt.compile(str); + + return strang.format(params); } catch (Exception ex) { ex.printStackTrace(); -- cgit v1.2.3