Fixed a false positive in a test.

This commit is contained in:
Dmitry Cheryasov
2009-06-08 08:55:00 +04:00
parent 2cdd275589
commit 4fb1bdba16
2 changed files with 8 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ public class PythonHighlightingTest extends DaemonAnalyzerTestCase {
}
public void testMalformedStringEscaped() throws Exception {
doTest();
doTest(false, false);
}
public void testStringEscapedOK() throws Exception {
@@ -98,4 +98,9 @@ public class PythonHighlightingTest extends DaemonAnalyzerTestCase {
private void doTest() throws Exception {
doTest(getTestName(true) + ".py", true, true);
}
private void doTest(boolean checkWarnings, boolean checkInfos) throws Exception {
doTest(getTestName(true) + ".py", checkWarnings, checkInfos);
}
}