Skip to content

Commit 7f11dbc

Browse files
committed
rubyfmt: Use language-specific heredoc delimiters
1 parent 8f708f7 commit 7f11dbc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Formula/r/rubyfmt.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ def install
4646
end
4747

4848
test do
49-
(testpath/"test.rb").write <<~EOS
49+
(testpath/"test.rb").write <<~RUBY
5050
def foo; 42; end
51-
EOS
52-
expected = <<~EOS
51+
RUBY
52+
expected = <<~RUBY
5353
def foo
5454
42
5555
end
56-
EOS
56+
RUBY
5757
assert_equal expected, shell_output("#{bin}/rubyfmt -- #{testpath}/test.rb")
5858
end
5959
end

0 commit comments

Comments
 (0)