Merge remote-tracking branch 'mruby/master' into mrbgems

This commit is contained in:
Daniel Bovensiepen
2012-12-05 01:01:34 +08:00
6 changed files with 38 additions and 16 deletions
+2 -2
View File
@@ -74,8 +74,8 @@ assert('Array#[]=', '15.2.12.5.5') do
e3 = e1
end
[1,2,3].[]=(1,4) == [1, 4, 3] and
[1,2,3].[]=(1,2,3) == [1, 3] and
[1,2,3].[]=(1,4) == 4 and
[1,2,3].[]=(1,2,3) == 3 and
e2.class == ArgumentError and
e3.class == ArgumentError
end
+1 -1
View File
@@ -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