Skip to content

Commit

Permalink
util: Move build/ instead of target/ due to Gradle.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenh committed Jun 13, 2015
1 parent 73c7b2c commit 9a6e993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/src/test/java/joist/util/ExecuteTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ public void toSystemOutFailure() {

@Test
public void toFileOut() {
File out = new File("target/out.txt");
File out = new File("build/out.txt");
// make sure we don't assert against stale results
if (out.exists()) {
out.delete();
}
Execute e = new Execute("ls");
Result r = e.toFile("target/out.txt");
Result r = e.toFile("build/out.txt");
assertThat(r.success, is(true));
assertThat(r.exitValue, is(0));
assertThat(Read.fromFile(out).contains("README.markdown"), is(true));
Expand Down

0 comments on commit 9a6e993

Please sign in to comment.