From 3895e548bd2d75cdf47cd247e84d6071247dd3b3 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Sat, 26 Oct 2019 18:20:46 -0700 Subject: [ruby/date] Revert "Simplify #inspect" This reverts commit af01edd7d8575f544f647dbe8cde5b6ae535d459. Revert requested by Yui Naruse. https://github.com/ruby/date/commit/875d563557 --- test/date/test_switch_hitter.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'test') 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('#', d.inspect) d = DateTime.new(2001, 2, 3) assert_equal(Encoding::US_ASCII, d.inspect.encoding) - assert_equal('#', d.inspect) end def test_strftime -- cgit v1.2.3