Skip to content

Commit

Permalink
add assertions to unit test OpenAPIParserTest
Browse files Browse the repository at this point in the history
  • Loading branch information
sullis committed Apr 4, 2024
1 parent 6c22e31 commit 1f6c056
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import java.util.List;


import static org.junit.Assert.assertFalse;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertNotNull;
import static org.testng.Assert.assertTrue;
Expand Down Expand Up @@ -170,6 +170,8 @@ public void test30Url() {
assertNotNull(result);
assertNotNull(result.getOpenAPI());
assertEquals(result.getOpenAPI().getOpenapi(), "3.0.0");
assertTrue(result.getMessages().isEmpty());
assertFalse(result.isOpenapi31());
}

@Test
Expand Down

0 comments on commit 1f6c056

Please sign in to comment.