Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit b677355

Browse files
committed
#38 Ack, forgot to update assertions on error messages
1 parent 7f39e05 commit b677355

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/test/java/com/marklogic/client/modulesloader/impl/LoadModulesTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ public void staticCheckAndCheckLibraryModules() {
7777
fail("The load should have failed because of the bad library module");
7878
} catch (RuntimeException ex) {
7979
System.out.println(ex.getMessage());
80-
assertTrue(ex.getMessage().contains("Static check failed for module at URI: /ext/bad-lib.xqy"));
8180
assertTrue(ex.getMessage().contains("in /ext/bad-lib.xqy, on line 7"));
8281
}
8382
}
@@ -110,7 +109,6 @@ public void bulkLoadAndStaticCheckAndCheckLibraryModules() {
110109
modulesLoader.loadModules(dir, new DefaultModulesFinder(), client);
111110
fail("The load should have failed because of the bad library module");
112111
} catch (Exception ex) {
113-
assertTrue(ex.getMessage().contains("Bulk static check failure"));
114112
assertTrue(ex.getMessage().contains("in /ext/bad-lib.xqy, on line 7"));
115113
}
116114
}

0 commit comments

Comments
 (0)