summaryrefslogtreecommitdiff
path: root/test/indent/elixir
diff options
context:
space:
mode:
authorDmitry Matveyev <greenfork.lists@yandex.com>2021-06-06 14:08:40 +0600
committerDmitry Matveyev <greenfork.lists@yandex.com>2021-06-06 14:08:40 +0600
commit167cffb3dad62755e1ecd1df0430cab800e41bb9 (patch)
treea622a3a9f989825a4b508e0f77746ae4f17a4118 /test/indent/elixir
parent785f7fe9ed34dc1c04987533857b3ec8533c8c4c (diff)
Better comment inserting tests and fix implementation
Diffstat (limited to 'test/indent/elixir')
-rw-r--r--test/indent/elixir/insert-comment-hash/cmd2
-rw-r--r--test/indent/elixir/insert-comment-hash/out6
2 files changed, 7 insertions, 1 deletions
diff --git a/test/indent/elixir/insert-comment-hash/cmd b/test/indent/elixir/insert-comment-hash/cmd
index e3036a40..bd828f35 100644
--- a/test/indent/elixir/insert-comment-hash/cmd
+++ b/test/indent/elixir/insert-comment-hash/cmd
@@ -1 +1 @@
-c<ret>
+c<ret><esc><a-o>jo# comment3<ret>comment4<esc><a-o>jo# indented<ret>indented2
diff --git a/test/indent/elixir/insert-comment-hash/out b/test/indent/elixir/insert-comment-hash/out
index bde83b7a..1dba5ac9 100644
--- a/test/indent/elixir/insert-comment-hash/out
+++ b/test/indent/elixir/insert-comment-hash/out
@@ -1,2 +1,8 @@
# Comment
# comment2
+
+# comment3
+# comment4
+
+# indented
+# indented2