From 4e94bf0e41f3e6fab5ef349476997bea8c854bb0 Mon Sep 17 00:00:00 2001 From: Dmitry Matveyev Date: Sun, 6 Jun 2021 14:27:39 +0600 Subject: [PATCH] Event better tests for comments --- test/indent/ruby/insert-comment-hash/cmd | 2 +- test/indent/ruby/insert-comment-hash/out | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/test/indent/ruby/insert-comment-hash/cmd b/test/indent/ruby/insert-comment-hash/cmd index bd828f357..1b9319dca 100644 --- a/test/indent/ruby/insert-comment-hash/cmd +++ b/test/indent/ruby/insert-comment-hash/cmd @@ -1 +1 @@ -cjo# comment3comment4jo# indentedindented2 +cjo# comment3comment4jo# indentedindented2jodef f# commentcomment2jjodef f# commenthhhi diff --git a/test/indent/ruby/insert-comment-hash/out b/test/indent/ruby/insert-comment-hash/out index 1dba5ac91..b56830710 100644 --- a/test/indent/ruby/insert-comment-hash/out +++ b/test/indent/ruby/insert-comment-hash/out @@ -6,3 +6,13 @@ # indented # indented2 + +def f + # comment + # comment2 +end + +def f + # comm + # ent +end