mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 01:50:56 +07:00
Unicode highlighting: fixes in octals, tests, updated colors page
This commit is contained in:
@@ -170,6 +170,15 @@ public class PythonHighlightingTest extends PyLightFixtureTestCase {
|
||||
doTest(LanguageLevel.PYTHON25, true, true);
|
||||
}
|
||||
|
||||
public void testUnicodeOrByte26future() {
|
||||
doTest(LanguageLevel.PYTHON26, true, true);
|
||||
}
|
||||
|
||||
public void testUnicodeOrByte30() {
|
||||
doTest(LanguageLevel.PYTHON30, true, true);
|
||||
}
|
||||
|
||||
|
||||
// ---
|
||||
private void doTest(final LanguageLevel languageLevel, final boolean checkWarnings, final boolean checkInfos) {
|
||||
PythonLanguageLevelPusher.setForcedLanguageLevel(myFixture.getProject(), languageLevel);
|
||||
|
||||
Reference in New Issue
Block a user