aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/string_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/string_spec.rb')
-rw-r--r--Library/Homebrew/test/string_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/string_spec.rb b/Library/Homebrew/test/string_spec.rb
index ce26d70d4..dba6753bf 100644
--- a/Library/Homebrew/test/string_spec.rb
+++ b/Library/Homebrew/test/string_spec.rb
@@ -22,11 +22,11 @@ describe String do
end
it "can be nested" do
- nested_string = <<-EOS.undent
+ nested_string = <<~EOS
goodbye
EOS
- string = <<-EOS.undent
+ string = <<~EOS
hello
#{nested_string}
EOS