File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
opengrok-indexer/src/test/java/org/opengrok/indexer/history Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 3838import java .io .File ;
3939import java .io .FileOutputStream ;
4040import java .io .IOException ;
41+ import java .net .URL ;
4142import java .nio .charset .StandardCharsets ;
4243import java .nio .file .Files ;
4344import java .nio .file .Path ;
@@ -103,7 +104,9 @@ static void setUpClass() throws Exception {
103104 @ BeforeEach
104105 void setUp () throws Exception {
105106 repositories = new TestRepository ();
106- repositories .create (getClass ().getResource ("/repositories" ));
107+ URL url = getClass ().getResource ("/repositories" );
108+ assertNotNull (url );
109+ repositories .create (url );
107110
108111 // Needed for HistoryGuru to operate normally.
109112 env .setRepositories (repositories .getSourceRoot ());
You can’t perform that action at this time.
0 commit comments