test fixes

This commit is contained in:
dragonmacher 2022-11-16 10:52:58 -05:00
parent 45640e9bc6
commit 245c4a39e2

View File

@ -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));
}