aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/missing_formula_spec.rb
diff options
context:
space:
mode:
authorMarkus Reiter2017-10-15 02:28:32 +0200
committerMarkus Reiter2017-10-18 14:39:09 +0200
commit9bee9ca5757d1c5f720787737fed6a534a620d72 (patch)
treeb1eed297d9eb169673d2ed308e5ef3ca3bb09d12 /Library/Homebrew/test/missing_formula_spec.rb
parent270b752f5d9d218bfbed6fe85b6974fa653fb25f (diff)
downloadbrew-9bee9ca5757d1c5f720787737fed6a534a620d72.tar.bz2
Use “squiggly” heredocs.
Diffstat (limited to 'Library/Homebrew/test/missing_formula_spec.rb')
-rw-r--r--Library/Homebrew/test/missing_formula_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/missing_formula_spec.rb b/Library/Homebrew/test/missing_formula_spec.rb
index 0a905004b..830ecb6aa 100644
--- a/Library/Homebrew/test/missing_formula_spec.rb
+++ b/Library/Homebrew/test/missing_formula_spec.rb
@@ -116,7 +116,7 @@ describe Homebrew::MissingFormula do
Tap.clear_cache
tap_path = Tap::TAP_DIRECTORY/"homebrew/homebrew-foo"
tap_path.mkpath
- (tap_path/"tap_migrations.json").write <<-EOS.undent
+ (tap_path/"tap_migrations.json").write <<~EOS
{ "migrated-formula": "homebrew/bar" }
EOS
end