mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix expectations
This commit is contained in:
@@ -232,7 +232,7 @@ public class CompilerTester {
|
||||
CompilerMessage[] messages = compileContext.getMessages(category);
|
||||
for (CompilerMessage message : messages) {
|
||||
final String text = message.getMessage();
|
||||
if (category != CompilerMessageCategory.INFORMATION || !(text.startsWith("Compilation completed successfully") || text.startsWith("Using javac"))) {
|
||||
if (category != CompilerMessageCategory.INFORMATION || !(text.contains("Compilation completed successfully") || text.startsWith("Using javac"))) {
|
||||
myMessages.add(message);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user