Skip to content

Commit 646bc2a

Browse files
committed
. t Change to remove flakey test if httpbin is down
1 parent a780cac commit 646bc2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

approvaltests-util-tests/src/test/java/com/spun/util/io/NetUtilsTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ void testWebPageFromGitHub()
9191
@Test
9292
void testTimeout()
9393
{
94-
assertThrows(Error.class,
94+
assertThrows(Throwable.class,
9595
() -> NetUtils.loadWebPage("https://httpbin.org/delay/5", null, Duration.ofMillis(50)));
9696
}
9797
}

0 commit comments

Comments
 (0)