diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2012-12-03 12:16:37 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2012-12-03 12:16:37 +0900 |
| commit | 6583c96640c375141b955e0f6f45835095266361 (patch) | |
| tree | d5ed2ce230462def06703c7c0b352560bca4cd88 /test | |
| parent | 26600ca4ec2c9547927056b35b61328f12cda79a (diff) | |
| download | mruby-6583c96640c375141b955e0f6f45835095266361.tar.gz mruby-6583c96640c375141b955e0f6f45835095266361.zip | |
Ruby's Time#yday should start from 1; close #581
Diffstat (limited to 'test')
| -rw-r--r-- | test/t/time.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/time.rb b/test/t/time.rb index ba4ceedc4..f92459d5e 100644 --- a/test/t/time.rb +++ b/test/t/time.rb @@ -177,7 +177,7 @@ if Object.const_defined?(:Time) end assert('Time#yday', '15.2.19.7.31') do - Time.gm(2012, 12, 23).yday == 357 + Time.gm(2012, 12, 23).yday == 358 end assert('Time#year', '15.2.19.7.32') do |
