mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-12-13 06:33:02 +00:00
test fixes
This commit is contained in:
parent
45640e9bc6
commit
245c4a39e2
@ -21,7 +21,7 @@ import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
import generic.test.AbstractGenericTest;
|
||||
import generic.theme.GThemeDefaults.Colors.Palette;
|
||||
import generic.theme.GThemeDefaults.Colors.Messages;
|
||||
|
||||
public class CParserUtilsTest extends AbstractGenericTest {
|
||||
|
||||
@ -32,7 +32,7 @@ public class CParserUtilsTest extends AbstractGenericTest {
|
||||
String message = CParserUtils.handleParseProblem(t, function);
|
||||
|
||||
String characterInfo = "near character 8";
|
||||
String invalidInfo = "<font color=\"" + Palette.RED + "\"><b>@";
|
||||
String invalidInfo = "<font color=\"" + Messages.ERROR + "\"><b>@";
|
||||
assertTrue(message.contains(characterInfo));
|
||||
assertTrue(message.contains(invalidInfo));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user