Skip to content

Commit

Permalink
#38 Ack, forgot to update assertions on error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrudin committed Dec 5, 2016
1 parent 7f39e05 commit b677355
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public void staticCheckAndCheckLibraryModules() {
fail("The load should have failed because of the bad library module");
} catch (RuntimeException ex) {
System.out.println(ex.getMessage());
assertTrue(ex.getMessage().contains("Static check failed for module at URI: /ext/bad-lib.xqy"));
assertTrue(ex.getMessage().contains("in /ext/bad-lib.xqy, on line 7"));
}
}
Expand Down Expand Up @@ -110,7 +109,6 @@ public void bulkLoadAndStaticCheckAndCheckLibraryModules() {
modulesLoader.loadModules(dir, new DefaultModulesFinder(), client);
fail("The load should have failed because of the bad library module");
} catch (Exception ex) {
assertTrue(ex.getMessage().contains("Bulk static check failure"));
assertTrue(ex.getMessage().contains("in /ext/bad-lib.xqy, on line 7"));
}
}
Expand Down

0 comments on commit b677355

Please sign in to comment.