diff options
Diffstat (limited to 'test/date')
-rw-r--r-- | test/date/test_switch_hitter.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/date/test_switch_hitter.rb b/test/date/test_switch_hitter.rb index 5c5a1bb0e6..bdf299e030 100644 --- a/test/date/test_switch_hitter.rb +++ b/test/date/test_switch_hitter.rb @@ -282,10 +282,8 @@ class TestSH < Test::Unit::TestCase def test_inspect d = Date.new(2001, 2, 3) assert_equal(Encoding::US_ASCII, d.inspect.encoding) - assert_equal('#<Date: 2001-02-03>', d.inspect) d = DateTime.new(2001, 2, 3) assert_equal(Encoding::US_ASCII, d.inspect.encoding) - assert_equal('#<DateTime: 2001-02-03T00:00:00+00:00>', d.inspect) end def test_strftime |