Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Katsute authored Sep 30, 2023
1 parent 05b5e79 commit 1932a6b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ final void testCreateSlashContext() throws IOException{
server.removeContext("/");
}

@Test @EnabledForJre(value={JRE.JAVA_8})
@Test @EnabledOnJre(value={JRE.JAVA_8})
final void testDuplicateContext8() throws IOException{
final SimpleHttpServer server = SimpleHttpServer.create();

Expand All @@ -116,7 +116,7 @@ final void testDuplicateContext8() throws IOException{
assertDoesNotThrow(() -> server.createContext("", HttpExchange::close));
}

@Test @DisabledForJre(value={JRE.JAVA_8})
@Test @DisabledOnJre(value={JRE.JAVA_8})
final void testDuplicateContext18() throws IOException{
final SimpleHttpServer server = SimpleHttpServer.create();

Expand Down

0 comments on commit 1932a6b

Please sign in to comment.