feat(comment): add comment on on interface method
This commit is contained in:
parent
26207b1928
commit
3cd45c45a3
9 changed files with 91 additions and 13 deletions
|
|
@ -30,6 +30,14 @@ comment["should add comment to interface"] = function()
|
|||
do_the_test("interface", { 3, 6 })
|
||||
end
|
||||
|
||||
comment["should add comment on interface method"] = function()
|
||||
do_the_test("interface_method", { 4, 2 })
|
||||
end
|
||||
|
||||
comment["should add a comment on interface with many method"] = function()
|
||||
do_the_test("interface_many_method", { 5, 2 })
|
||||
end
|
||||
|
||||
comment["otherwise should add // above cursor"] = function()
|
||||
do_the_test("empty", { 1, 1 })
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue