summaryrefslogtreecommitdiff
path: root/test/ruby/test_time.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_time.rb')
-rw-r--r--test/ruby/test_time.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb
index 049693037d..a84cbd9ec6 100644
--- a/test/ruby/test_time.rb
+++ b/test/ruby/test_time.rb
@@ -371,7 +371,7 @@ class TestTime < Test::Unit::TestCase
assert_equal("00:00:00", T2000.strftime("%X"))
assert_equal("00", T2000.strftime("%y"))
assert_equal("2000", T2000.strftime("%Y"))
- assert(["GMT", "UTC"].include?(T2000.strftime("%Z")))
+ assert_equal("UTC", T2000.strftime("%Z"))
assert_equal("%", T2000.strftime("%%"))
assert_equal("", T2000.strftime(""))