Project

General

Profile

Actions

Bug #500

closed

TZ=HSTでFailure: test_strftime(TestTime)

Added by znz (Kazuhiro NISHIYAMA) over 14 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
Backport:
[ruby-dev:35992]

Description

=begin
http://zunda.freeshell.org/d/20080825.html#p04
によるとローカルのタイムゾーンによっては失敗することがあるようです。

% env TZ=HST ruby-trunk -v test/ruby/test_time.rb -n /strftime/
ruby 1.9.0 (2008-08-25 revision 18832) [i686-linux]
Loaded suite test/ruby/test_time
Started
test/ruby/test_time.rb:377: warning: strftime called with empty format string
F
Finished in 0.01258855 seconds.

  1. Failure:
    test_strftime(TestTime) [test/ruby/test_time.rb:381]:
    <"Sat"> expected but was
    <"Fri">.

1 tests, 26 assertions, 1 failures, 0 errors
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0