Permalink
Browse files

Issue #59: Fix broken build: change on-the-fly file extensions to avo…

…id interference with other tests
  • Loading branch information...
terzerm committed Nov 24, 2018
1 parent aac00f5 commit 367da7d262e682a08577cdf19ebbbdd8a46870fe
Showing with 2 additions and 2 deletions.
  1. +2 −2 unix4j-core/unix4j-command/src/test/java/org/unix4j/unix/GrepTest.java
@@ -135,7 +135,7 @@ public void testFixedStringWithIgnoreCase() {
//given
final String[] lines = {"Hello", "World", "HELLO", "WORLD", "Hello world", "HELLO WORLD"};
final String outputDirPath = outputDir.getPath();
final File file = new File(outputDirPath, "testFixedStringWithIgnoreCase.txt");
final File file = new File(outputDirPath, "testFixedStringWithIgnoreCase.text");
Unix4j.fromStrings(lines).toFile(file);
//when + then
@@ -159,7 +159,7 @@ public void testGrepFileThenDelete() throws IOException {
//given
final String[] lines = {"Hello", "World", "These are 3 lines"};
final String outputDirPath = outputDir.getPath();
final File file = new File(outputDirPath, "testGrepFileThenDelete.txt");
final File file = new File(outputDirPath, "testGrepFileThenDelete.text");
Unix4j.fromStrings(lines).toFile(file);
assertEquals(true, file.exists());

0 comments on commit 367da7d

Please sign in to comment.