Skip to content

Commit

Permalink
minor add to dataformat match test
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jan 10, 2020
1 parent 18c5398 commit b2be2c4
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -83,6 +83,7 @@ public void testSimpleInvalid() throws Exception
DataFormatMatcher matcher = detector.findFormat(new ByteArrayInputStream(NON_JSON.getBytes("UTF-8")));
// should not have match
assertFalse(matcher.hasMatch());
assertNull(matcher.getMatchedFormatName());
// and thus:
assertEquals(MatchStrength.INCONCLUSIVE, matcher.getMatchStrength());
// also:
Expand Down

0 comments on commit b2be2c4

Please sign in to comment.