aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/pathname_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/pathname_spec.rb')
-rw-r--r--Library/Homebrew/test/pathname_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/pathname_spec.rb b/Library/Homebrew/test/pathname_spec.rb
index 69314e5f4..1349e602b 100644
--- a/Library/Homebrew/test/pathname_spec.rb
+++ b/Library/Homebrew/test/pathname_spec.rb
@@ -79,12 +79,12 @@ describe Pathname do
touch file
file.append_lines("CONTENT")
- expect(File.read(file)).to eq <<-EOS.undent
+ expect(File.read(file)).to eq <<~EOS
CONTENT
EOS
file.append_lines("CONTENTS")
- expect(File.read(file)).to eq <<-EOS.undent
+ expect(File.read(file)).to eq <<~EOS
CONTENT
CONTENTS
EOS