diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-01-11 21:31:48 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-01-12 10:53:34 +0900 |
commit | 7f5e06601b5dc4ea1c1c91cfb843ed83baafe251 (patch) | |
tree | c3d1c1c73168e8048b7d97f32636d575e2e53eba /test/date | |
parent | 236678b823d304e7b4c32cd8470af487f38920ce (diff) | |
download | ruby-7f5e06601b5dc4ea1c1c91cfb843ed83baafe251.tar.gz |
[ruby/date] Use omit instead of skip for test-unit
https://github.com/ruby/date/commit/537f3f681e
Diffstat (limited to 'test/date')
-rw-r--r-- | test/date/test_date_strftime.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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')) |