forked from VimPlug/jedi
bug fixing
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
|
||||
#? ['imag']
|
||||
[1,2][0].imag
|
||||
|
||||
a = list()
|
||||
#? ['append']
|
||||
[a][0].append
|
||||
|
||||
@@ -49,7 +49,7 @@ def completion_test(source):
|
||||
tests += 1
|
||||
else:
|
||||
try:
|
||||
correct = re.search(r'#\?\s*([^\n]+)', line).group(1)
|
||||
correct = re.search(r'(?:^|\s)#\?\s*([^\n]+)', line).group(1)
|
||||
except:
|
||||
correct = None
|
||||
return tests, fails
|
||||
|
||||
Reference in New Issue
Block a user