diff options
| author | Markus Reiter | 2017-10-15 02:28:32 +0200 | 
|---|---|---|
| committer | Markus Reiter | 2017-10-18 14:39:09 +0200 | 
| commit | 9bee9ca5757d1c5f720787737fed6a534a620d72 (patch) | |
| tree | b1eed297d9eb169673d2ed308e5ef3ca3bb09d12 /Library/Homebrew/test/pathname_spec.rb | |
| parent | 270b752f5d9d218bfbed6fe85b6974fa653fb25f (diff) | |
| download | brew-9bee9ca5757d1c5f720787737fed6a534a620d72.tar.bz2 | |
Use “squiggly” heredocs.
Diffstat (limited to 'Library/Homebrew/test/pathname_spec.rb')
| -rw-r--r-- | Library/Homebrew/test/pathname_spec.rb | 4 | 
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 | 
