summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2012-12-03 12:16:37 +0900
committerYukihiro Matz Matsumoto <[email protected]>2012-12-03 12:16:37 +0900
commit6583c96640c375141b955e0f6f45835095266361 (patch)
treed5ed2ce230462def06703c7c0b352560bca4cd88 /test
parent26600ca4ec2c9547927056b35b61328f12cda79a (diff)
downloadmruby-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.rb2
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