aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_string.rb
diff options
context:
space:
mode:
authorJack Nagel2014-06-04 16:31:57 -0500
committerJack Nagel2014-06-04 16:31:57 -0500
commit3c9523516baa1d34f78036bb850a7d77e73d8b80 (patch)
treef2527d9cdf3e077b76e1c33beb1130404d53d335 /Library/Homebrew/test/test_string.rb
parent212181bbc62daa2e33d6cac434ab6a20e85d9482 (diff)
downloadbrew-3c9523516baa1d34f78036bb850a7d77e73d8b80.tar.bz2
Clean up some test assertions
Diffstat (limited to 'Library/Homebrew/test/test_string.rb')
-rw-r--r--Library/Homebrew/test/test_string.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_string.rb b/Library/Homebrew/test/test_string.rb
index 547e99c3d..5aacbf174 100644
--- a/Library/Homebrew/test/test_string.rb
+++ b/Library/Homebrew/test/test_string.rb
@@ -8,7 +8,7 @@ class StringTest < Test::Unit::TestCase
....my friend over
there
EOS
- assert undented == "hi\nmy friend over\nthere\n"
+ assert_equal "hi\nmy friend over\nthere\n", undented
end
def test_undent_not_indented
@@ -16,6 +16,6 @@ class StringTest < Test::Unit::TestCase
hi
I'm not indented
EOS
- assert undented == "hi\nI'm not indented\n"
+ assert_equal "hi\nI'm not indented\n", undented
end
end