mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
test for wrapping inside argument list
This commit is contained in:
2
python/testData/wrap/WrapInArgumentList.after.py
Normal file
2
python/testData/wrap/WrapInArgumentList.after.py
Normal file
@@ -0,0 +1,2 @@
|
||||
def foo(abracadabra1, abracadabra2, abracadabra3, abracadabra4,
|
||||
abracadabra5=None
|
||||
1
python/testData/wrap/WrapInArgumentList.py
Normal file
1
python/testData/wrap/WrapInArgumentList.py
Normal file
@@ -0,0 +1 @@
|
||||
def foo(abracadabra1, abracadabra2, abracadabra3, abracadabra4, abracadabra5<caret>
|
||||
@@ -41,6 +41,10 @@ public class PyWrapTest extends PyLightFixtureTestCase {
|
||||
doTest("Aquitani");
|
||||
}
|
||||
|
||||
public void testWrapInArgumentList() {
|
||||
doTest("=None");
|
||||
}
|
||||
|
||||
private void doTest(final String textToType) {
|
||||
myFixture.configureByFile("wrap/" + getTestName(false) + ".py");
|
||||
myFixture.type(textToType);
|
||||
|
||||
Reference in New Issue
Block a user