Skip to content

Commit

Permalink
remove setup re-assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
rheimus committed Jan 24, 2025
1 parent 5061696 commit a993ec6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ void init() {
@DisplayName("Questions")
void shouldPushClientOnlyFiles() {
config.PUSH_CLIENT_MODS = false;
ServerSetup setup = new ServerSetup();
ServerSetup setupFalse = new ServerSetup();

assertFalse(setup.shouldPushClientOnlyFiles());
assertFalse(setupFalse.shouldPushClientOnlyFiles());

config.PUSH_CLIENT_MODS = true;
setup = new ServerSetup();
ServerSetup setupTrue = new ServerSetup();

assertTrue(setup.shouldPushClientOnlyFiles());
assertTrue(setupTrue.shouldPushClientOnlyFiles());
}
}

0 comments on commit a993ec6

Please sign in to comment.