Add test cases for invalid input

This commit is contained in:
John J. Aylward
2022-01-26 12:19:53 -05:00
parent f1b0210b8a
commit 7a124d857d
8 changed files with 1732 additions and 4 deletions

View File

@@ -190,7 +190,7 @@ public class CDLTest {
CDL.toJSONArray(badLine);
fail("Expecting an exception");
} catch (JSONException e) {
System.out.println("Message" + e.getMessage());
//System.out.println("Message" + e.getMessage());
assertEquals("Expecting an exception message",
"Bad character 'V' (86). at 20 [character 9 line 2]",
e.getMessage());