Skip to content

Commit

Permalink
More coverage!
Browse files Browse the repository at this point in the history
  • Loading branch information
depryf committed Oct 12, 2023
1 parent ea6f05e commit edf11d4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ public void testGetDataItem() throws IOException {
Assert.assertNull(item.getVersionImplemented());
Assert.assertEquals(2006, item.getYearRetired().intValue());
Assert.assertEquals("11", item.getVersionRetired());

// a bad request
Assert.assertThrows(IOException.class, () -> client.getDataItem(NAACCR_LATEST, "unknown"));
}

@Test
Expand Down

0 comments on commit edf11d4

Please sign in to comment.