diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2019-10-12 14:12:14 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2019-10-12 14:12:14 -0400 |
| commit | 44719c3ac6c5decf15e7a6bab5045c971a5bd689 (patch) | |
| tree | bc478e3d6541e18483a036c9344fcf6c429a47a2 /clformat/src/test/java/bjc/utils | |
| parent | e6614156f4b86d531720ff3b8ff55ca19ee7b978 (diff) | |
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
Diffstat (limited to 'clformat/src/test/java/bjc/utils')
| -rw-r--r-- | clformat/src/test/java/bjc/utils/test/ioutils/CLFormatterTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
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(); |
