feat(comment): add comment on on interface method

This commit is contained in:
Oleksandr Smirnov 2025-09-04 14:17:58 +03:00
parent 26207b1928
commit 3cd45c45a3
No known key found for this signature in database
9 changed files with 91 additions and 13 deletions

View file

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