Skip to content

Commit

Permalink
code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
alexradzin committed Nov 2, 2023
1 parent ea98448 commit 97bfb3f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ void shouldUsePathParamAsDb() {
void invalidDatabase(String db) {
Properties properties = new Properties();
properties.put("path", db);
assertThrows(IllegalArgumentException.class, () -> FireboltProperties.of(properties).getDatabase());
FireboltProperties fbProps = FireboltProperties.of(properties);
assertThrows(IllegalArgumentException.class, () -> fbProps.getDatabase());
}

@Test
Expand Down

0 comments on commit 97bfb3f

Please sign in to comment.