File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
opengrok-indexer/src/test/java/org/opengrok/indexer/history Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 30
30
import java .nio .file .Files ;
31
31
32
32
import static org .junit .jupiter .api .Assertions .assertEquals ;
33
+ import static org .junit .jupiter .api .Assertions .assertTrue ;
33
34
import static org .opengrok .indexer .condition .RepositoryInstalled .Type .SCCS ;
34
35
35
36
/**
@@ -45,7 +46,7 @@ class SCCSRepositoryTest {
45
46
private void testIsRepositoryFor (final String fileName , boolean shouldPass ) throws IOException {
46
47
File tdir = Files .createTempDirectory ("SCCSrepotest" + fileName ).toFile ();
47
48
File test = new File (tdir , fileName );
48
- test .mkdirs ();
49
+ assertTrue ( test .mkdirs (), "failed to create directory" );
49
50
tdir .deleteOnExit ();
50
51
test .deleteOnExit ();
51
52
SCCSRepository instance = new SCCSRepository ();
You can’t perform that action at this time.
0 commit comments