mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixed a false positive in a test.
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
# no warnings here
|
||||
<info descr="null">"a\""</info>
|
||||
a = 1 # prevent the sting from baeing a doc comment
|
||||
"a\""
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user