Skip to content

Commit

Permalink
wip: debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
apotterri committed Oct 7, 2023
1 parent 7ac13aa commit 64737ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public void loadBadDirectory() {
Path badDir = Paths.get(File.listRoots()[0].toString(), "Program Files", "no-such-dir");
assertFalse(Files.exists(badDir));
AppMapConfig.load(badDir.resolve("appmap.yml"), false);
assertFalse("Found unexpected " + badDir, Files.exists(badDir));
assertNotNull(errContent.toString());
assertTrue(errContent.toString().contains("file not found"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public void testUnwriteableOutputFile() throws IOException {
try {
recording.moveTo(Paths.get(File.listRoots()[0].toString(), "Program Files", "no-such-directory", "."));
} catch (RuntimeException e) {
e.printStackTrace();
exception = e;
}
assertNotNull(exception);
Expand Down

0 comments on commit 64737ed

Please sign in to comment.