Skip to content

Commit ddcb4f6

Browse files
committed
add assertion
1 parent d0c3221 commit ddcb4f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/history/HistoryGuruTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ void annotation() throws Exception {
142142
HistoryGuru instance = HistoryGuru.getInstance();
143143
for (File f : FILES) {
144144
if (instance.hasAnnotation(f)) {
145-
instance.annotate(f, null);
145+
assertNotNull(instance.annotate(f, null));
146146
}
147147
}
148148
}

0 commit comments

Comments
 (0)