Add missing tests for insertion of docstring stubs on typing enter or space

This commit is contained in:
Mikhail Golubev
2015-08-24 01:54:15 +03:00
parent f651eb3b14
commit 865be5f5ca
15 changed files with 54 additions and 21 deletions

View File

@@ -0,0 +1,4 @@
class C:
'''
<caret>
'''

View File

@@ -0,0 +1,2 @@
class C:
'''<caret>

View File

@@ -0,0 +1,3 @@
"""
<caret>
"""

View File

@@ -0,0 +1 @@
"""<caret>

View File

@@ -0,0 +1,3 @@
class C:
''' <caret>
'''

View File

@@ -0,0 +1,2 @@
class C:
'''<caret>

View File

@@ -0,0 +1,2 @@
""" <caret>
"""

View File

@@ -0,0 +1 @@
"""<caret>

View File

@@ -0,0 +1,7 @@
def func(x, y, z):
"""
:param x: <caret>
:param y:
:param z:
:return:
"""

View File

@@ -0,0 +1,2 @@
def func(x, y, z):
"""<caret>