We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5062ef commit 3e992c1Copy full SHA for 3e992c1
opengrok-web/src/test/java/org/opengrok/web/PageConfigTest.java
@@ -598,8 +598,8 @@ void testCheckSourceRootExistence5() throws IOException {
598
PageConfig cfg = PageConfig.get(req);
599
String path = RuntimeEnvironment.getInstance().getSourceRootPath();
600
File temp = File.createTempFile("opengrok", "-test-file.tmp");
601
- temp.delete();
602
- temp.mkdirs();
+ assertTrue(temp.delete());
+ assertTrue(temp.mkdirs());
603
RuntimeEnvironment.getInstance().setSourceRoot(temp.getAbsolutePath());
604
cfg.checkSourceRootExistence();
605
RuntimeEnvironment.getInstance().setSourceRoot(path);
0 commit comments