diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-10-04 21:10:14 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-10-04 21:11:30 +0200 |
commit | 923eb9569c2289581d6a48dbd4447202a5ac93d8 (patch) | |
tree | 8eb7c7ce81cf4ec4378bcdb21b86af29cc00c3de | |
parent | 5e3517ea7b9fbd460f772bffc9212d882011f2bc (diff) | |
download | rails-923eb9569c2289581d6a48dbd4447202a5ac93d8.tar.gz rails-923eb9569c2289581d6a48dbd4447202a5ac93d8.tar.bz2 rails-923eb9569c2289581d6a48dbd4447202a5ac93d8.zip |
Fix mismatched assertions.
-rw-r--r-- | activesupport/test/test_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/test_test.rb b/activesupport/test/test_test.rb index dd1bc8d623..4e253848f6 100644 --- a/activesupport/test/test_test.rb +++ b/activesupport/test/test_test.rb @@ -67,7 +67,7 @@ class AssertDifferenceTest < Test::Unit::TestCase end fail 'should not get to here' rescue Test::Unit::AssertionFailedError => e - assert_equal "<1 + 1> was expression that failed.\n<3> expected but was\n<2>.", e.message + assert_equal "<1 + 1> was the expression that failed.\n<3> expected but was\n<2>.", e.message end def test_array_of_expressions_identify_failure_when_message_provided @@ -76,7 +76,7 @@ class AssertDifferenceTest < Test::Unit::TestCase end fail 'should not get to here' rescue Test::Unit::AssertionFailedError => e - assert_equal "something went wrong.\n<1 + 1> was expression that failed.\n<3> expected but was\n<2>.", e.message + assert_equal "something went wrong.\n<1 + 1> was the expression that failed.\n<3> expected but was\n<2>.", e.message end else def default_test; end |