test for wrapping inside argument list

This commit is contained in:
Dmitry Jemerov
2010-09-23 13:32:51 +04:00
parent a85ab03d98
commit c2babae6e2
3 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
def foo(abracadabra1, abracadabra2, abracadabra3, abracadabra4,
abracadabra5=None

View File

@@ -0,0 +1 @@
def foo(abracadabra1, abracadabra2, abracadabra3, abracadabra4, abracadabra5<caret>

View File

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