aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_string.rb
diff options
context:
space:
mode:
authorJosh Hagins2016-10-24 12:29:22 -0400
committerGitHub2016-10-24 12:29:22 -0400
commit4f73fa701210b803cd6a088f1a5b46f7bb4e129c (patch)
treecc3c1cd4edd9b264d49293af8555c95f37f7b23f /Library/Homebrew/test/test_string.rb
parent3f3fa4d0f7d5c28598fb7a2495d01efa35c7f7a2 (diff)
parentb28b21fd7fec17e372f8bf0fe118c32318d44f84 (diff)
downloadbrew-4f73fa701210b803cd6a088f1a5b46f7bb4e129c.tar.bz2
Merge pull request #1363 from reitermarkus/rubocop-percent-literals
Don’t use bare percent literals.
Diffstat (limited to 'Library/Homebrew/test/test_string.rb')
-rw-r--r--Library/Homebrew/test/test_string.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_string.rb b/Library/Homebrew/test/test_string.rb
index d3f2bc268..497c4badb 100644
--- a/Library/Homebrew/test/test_string.rb
+++ b/Library/Homebrew/test/test_string.rb
@@ -35,6 +35,6 @@ I'm not indented
def test_inreplace_sub_failure
s = "foobar".extend StringInreplaceExtension
s.sub! "not here", "test"
- assert_equal [%(expected replacement of "not here" with "test")], s.errors
+ assert_equal ['expected replacement of "not here" with "test"'], s.errors
end
end