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
commit6d4314ed9ddb220a11e61369d216221a7f8d84ed (patch)
treec6dafaf26733aede8a590c11b8de14b68cace226 /Library/Homebrew/test/test_string.rb
parent4f2f7071e0b429889df8d33531fb3d00987070b5 (diff)
downloadhomebrew-6d4314ed9ddb220a11e61369d216221a7f8d84ed.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