Remove more uses of EOS.undent.

This commit is contained in:
Mike McQuaid 2017-11-10 14:22:39 +00:00
parent 219f9691ef
commit 4d4722c97c
2 changed files with 3 additions and 3 deletions

View File

@ -221,7 +221,7 @@ describe FormulaAuditor do
describe "a dependency on a macOS-provided keg-only formula" do describe "a dependency on a macOS-provided keg-only formula" do
describe "which is whitelisted" do describe "which is whitelisted" do
let(:fa) do let(:fa) do
formula_auditor "foo", <<-EOS.undent, new_formula: true formula_auditor "foo", <<~EOS, new_formula: true
class Foo < Formula class Foo < Formula
url "http://example.com/foo-1.0.tgz" url "http://example.com/foo-1.0.tgz"
homepage "http://example.com" homepage "http://example.com"
@ -253,7 +253,7 @@ describe FormulaAuditor do
describe "which is not whitelisted" do describe "which is not whitelisted" do
let(:fa) do let(:fa) do
formula_auditor "foo", <<-EOS.undent, new_formula: true formula_auditor "foo", <<~EOS, new_formula: true
class Foo < Formula class Foo < Formula
url "http://example.com/foo-1.0.tgz" url "http://example.com/foo-1.0.tgz"
homepage "http://example.com" homepage "http://example.com"

View File

@ -553,7 +553,7 @@ Sometimes a package fails to build when using a certain compiler. Since recent [
```ruby ```ruby
fails_with :llvm do fails_with :llvm do
build 2335 build 2335
cause <<-EOS.undent cause <<~EOS
The "cause" field should include a short summary of the error. Include 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 URLs of any relevant information, such as upstream bug reports. Wrap
the text at a sensible boundary (~72-80 characters), but do not break the text at a sensible boundary (~72-80 characters), but do not break