Skip to content

Commit ac458f6

Browse files
committed
Historical timezones of Lisbon in tzdata are unstable
1 parent d515292 commit ac458f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/ruby/test_time_tz.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,8 @@ def test_europe_berlin
201201
end
202202

203203
def test_europe_lisbon
204-
omit 'this becomes CET on macOS during DST' if ENV.key?('GITHUB_ACTIONS') && RUBY_PLATFORM.match?(/darwin/)
205204
with_tz("Europe/Lisbon") {
206-
assert_equal("LMT", Time.new(-0x1_0000_0000_0000_0000).zone)
205+
assert_include(%w"LMT CET", Time.new(-0x1_0000_0000_0000_0000).zone)
207206
}
208207
end if has_lisbon_tz
209208

0 commit comments

Comments
 (0)