summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-03-26 23:10:50 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-03-26 23:10:50 +0900
commitac458f6bc3c520c9f23364c85bfb033acda907a6 (patch)
tree7d95c2b9b082d399a956e389a6f34ee1f09121e2 /test/ruby
parentd51529244ff5b10fa280c559d2d21383f5a5f842 (diff)
downloadruby-ac458f6bc3c520c9f23364c85bfb033acda907a6.tar.gz
Historical timezones of Lisbon in tzdata are unstable
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_time_tz.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ruby/test_time_tz.rb b/test/ruby/test_time_tz.rb
index 8a6f7c041c..531d76b040 100644
--- a/test/ruby/test_time_tz.rb
+++ b/test/ruby/test_time_tz.rb
@@ -201,9 +201,8 @@ class TestTimeTZ < Test::Unit::TestCase
end
def test_europe_lisbon
- omit 'this becomes CET on macOS during DST' if ENV.key?('GITHUB_ACTIONS') && RUBY_PLATFORM.match?(/darwin/)
with_tz("Europe/Lisbon") {
- assert_equal("LMT", Time.new(-0x1_0000_0000_0000_0000).zone)
+ assert_include(%w"LMT CET", Time.new(-0x1_0000_0000_0000_0000).zone)
}
end if has_lisbon_tz