Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
loosebazooka committed Apr 6, 2017
1 parent 1138bc1 commit 295ef52
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ public void testSetAppYamls() throws IOException {
Project p = ProjectBuilder.builder().build();
Run run = p.getExtensions().create("run", Run.class, p, tmpDir.getRoot());

run.setAppYamls("/tmp/some/app.yaml");
Assert.assertEquals(ImmutableList.of(new File("/tmp/some/app.yaml")), run.getServices());
File file = new File("/tmp/some/app.yaml");
run.setAppYamls(file);
Assert.assertEquals(ImmutableList.of(file), run.getServices());
}
}

0 comments on commit 295ef52

Please sign in to comment.