Skip to content

Commit 5abbbfe

Browse files
committed
scalariform: use Scala specific heredoc delimiters
1 parent 86510a6 commit 5abbbfe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Formula/s/scalariform.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ def install
3434
end
3535

3636
test do
37-
before_data = <<~EOS
37+
before_data = <<~SCALA
3838
def foo() {
3939
println("Hello World")
4040
}
41-
EOS
41+
SCALA
4242

43-
after_data = <<~EOS
43+
after_data = <<~SCALA
4444
def foo() {
4545
println("Hello World")
4646
}
47-
EOS
47+
SCALA
4848

4949
(testpath/"foo.scala").write before_data
5050
system bin/"scalariform", "-indentSpaces=3", testpath/"foo.scala"

0 commit comments

Comments
 (0)