Skip to content

Add file output parameters to Maven plugin #502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jul 25, 2023
Prev Previous commit
Next Next commit
issue-501: Fix unit tests.
  • Loading branch information
studur committed Mar 31, 2023
commit 99be56e430d085d484f6d4c0ec596a85eff52f4d
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void writeToFile_filenameIsEmpty_doesNothing() {
@Test
void writeToFile_filenamePathIsInvalid_ThrowsIllegalArgumentException() {
assertThrows(
IllegalArgumentException.class, () -> FileUtils.writeToFile(sampleContent, "?%#$"));
IllegalArgumentException.class, () -> FileUtils.writeToFile(sampleContent, " "));
assertFalse(Files.exists(Paths.get(filePath)));
}

Expand Down