mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Add tests for authocomplete in formated arguments and formatted strings
This commit is contained in:
@@ -0,0 +1 @@
|
||||
"Yeah you can take me out the {place} But you can’t take the hood up outta me".format(place)
|
||||
@@ -0,0 +1 @@
|
||||
"Yeah you can take me out the {place} But you can’t take the hood up outta me".format(pla<caret>)
|
||||
@@ -0,0 +1 @@
|
||||
"Yeah you can take me out the {place} But you can’t take the hood up outta me".format(place="hood")
|
||||
@@ -0,0 +1 @@
|
||||
"Yeah you can take me out the {pla<caret>} But you can’t take the hood up outta me".format(place="hood")
|
||||
@@ -0,0 +1 @@
|
||||
"Yeah you can take me out the {place} But you can’t take the hood up outta me".format(**{"place":"hood"})
|
||||
@@ -0,0 +1 @@
|
||||
"Yeah you can take me out the {pla<caret>} But you can’t take the hood up outta me".format(**{"place":"hood"})
|
||||
@@ -0,0 +1 @@
|
||||
"Yeah you can take me out the {hood} But you can’t take the ho up outta me".format(hood="hood")
|
||||
@@ -0,0 +1 @@
|
||||
"Yeah you can take me out the {hood} But you can’t take the ho<caret> up outta me".format(hood="hood")
|
||||
@@ -902,6 +902,22 @@ public class PythonCompletionTest extends PyTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testFormatString() {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testFormatFuncArgument() {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testFormatStringFromStarArg() {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testFormatStringOutsideBraces() {
|
||||
doTest();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getTestDataPath() {
|
||||
return super.getTestDataPath() + "/completion";
|
||||
|
||||
Reference in New Issue
Block a user