From 7f5e06601b5dc4ea1c1c91cfb843ed83baafe251 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 11 Jan 2022 21:31:48 +0900 Subject: [PATCH] [ruby/date] Use omit instead of skip for test-unit https://github.com/ruby/date/commit/537f3f681e --- test/date/test_date_strftime.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/date/test_date_strftime.rb b/test/date/test_date_strftime.rb index be9354504a..dd04c0d9a4 100644 --- a/test/date/test_date_strftime.rb +++ b/test/date/test_date_strftime.rb @@ -125,7 +125,7 @@ class TestDateStrftime < Test::Unit::TestCase def test_strftime__3_2 s = Time.now.strftime('%G') - skip if s.empty? || s == '%G' + omit if s.empty? || s == '%G' (Date.new(1970,1,1)..Date.new(2037,12,31)).each do |d| t = Time.utc(d.year,d.mon,d.mday) assert_equal(t.strftime('%G'), d.strftime('%G'))