Skip to content

Commit

Permalink
Update tests to look for SketchesArgumentException
Browse files Browse the repository at this point in the history
  • Loading branch information
leerho committed Sep 16, 2019
1 parent cdabdb9 commit 33bbcd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/apache/datasketches/UtilTest.java
Expand Up @@ -336,7 +336,7 @@ public void resourcefileExists() {
assertTrue(file.exists());
}

@Test(expectedExceptions = IllegalArgumentException.class)
@Test(expectedExceptions = SketchesArgumentException.class)
public void resourceFileNotFound() {
final String shortFileName = "cpc-empty.bin";
getResourceFile(shortFileName + "123");
Expand All @@ -349,7 +349,7 @@ public void resourceBytesCorrect() {
assertTrue(bytes.length == 8);
}

@Test(expectedExceptions = IllegalArgumentException.class)
@Test(expectedExceptions = SketchesArgumentException.class)
public void resourceBytesFileNotFound() {
final String shortFileName = "cpc-empty.bin";
getResourceBytes(shortFileName + "123");
Expand Down

0 comments on commit 33bbcd4

Please sign in to comment.