Skip to content

Commit

Permalink
Fix: Fixed bug where test would create stock file
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyah committed May 25, 2026
1 parent 329c2f1 commit 0bc91d8
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,4 @@ void readFileHandlesEmptyFileGracefully() throws IOException {

assertTrue(results.isEmpty());
}

@Test
void constructorOrReadFileDoesNotThrowExceptionOnMissingFile() {
StockFileManager stockFileManager =
new StockFileManager("non_existent_directory/missing_file.txt");

assertDoesNotThrow(stockFileManager::readFile);
}
}

0 comments on commit 0bc91d8

Please sign in to comment.