aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-11-10 14:22:39 +0000
committerMike McQuaid2017-11-10 14:22:39 +0000
commit4d4722c97c2e92f1fd17ed056f5a700e881eab4d (patch)
tree1612fbfdabe6212095123b815e198830ff91b770
parent219f9691ef6ece820c528dc280d1b253c2a40412 (diff)
downloadbrew-4d4722c97c2e92f1fd17ed056f5a700e881eab4d.tar.bz2
Remove more uses of EOS.undent.
-rw-r--r--Library/Homebrew/test/dev-cmd/audit_spec.rb4
-rw-r--r--docs/Formula-Cookbook.md2
2 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/dev-cmd/audit_spec.rb b/Library/Homebrew/test/dev-cmd/audit_spec.rb
index 857b69c07..2381ff1f5 100644
--- a/Library/Homebrew/test/dev-cmd/audit_spec.rb
+++ b/Library/Homebrew/test/dev-cmd/audit_spec.rb
@@ -221,7 +221,7 @@ describe FormulaAuditor do
describe "a dependency on a macOS-provided keg-only formula" do
describe "which is whitelisted" do
let(:fa) do
- formula_auditor "foo", <<-EOS.undent, new_formula: true
+ formula_auditor "foo", <<~EOS, new_formula: true
class Foo < Formula
url "http://example.com/foo-1.0.tgz"
homepage "http://example.com"
@@ -253,7 +253,7 @@ describe FormulaAuditor do
describe "which is not whitelisted" do
let(:fa) do
- formula_auditor "foo", <<-EOS.undent, new_formula: true
+ formula_auditor "foo", <<~EOS, new_formula: true
class Foo < Formula
url "http://example.com/foo-1.0.tgz"
homepage "http://example.com"
diff --git a/docs/Formula-Cookbook.md b/docs/Formula-Cookbook.md
index 0266d39e5..b40c765c6 100644
--- a/docs/Formula-Cookbook.md
+++ b/docs/Formula-Cookbook.md
@@ -553,7 +553,7 @@ Sometimes a package fails to build when using a certain compiler. Since recent [
```ruby
fails_with :llvm do
build 2335
- cause <<-EOS.undent
+ cause <<~EOS
The "cause" field should include a short summary of the error. Include
the URLs of any relevant information, such as upstream bug reports. Wrap
the text at a sensible boundary (~72-80 characters), but do not break