diff options
| author | Daniel Bovensiepen <[email protected]> | 2012-12-05 01:01:34 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2012-12-05 01:01:34 +0800 |
| commit | 471c00a31dcaa04d4658de9b59fc23b24479d2fd (patch) | |
| tree | b53fb2f431f52002c0a2a908623beaa3c1a929e7 /test/t | |
| parent | 40bfc86a5e0a1a70f904a080569da9662747181f (diff) | |
| parent | 674c55eb7d0a4338d4500516b6a3e9aba56ee61e (diff) | |
| download | mruby-471c00a31dcaa04d4658de9b59fc23b24479d2fd.tar.gz mruby-471c00a31dcaa04d4658de9b59fc23b24479d2fd.zip | |
Merge remote-tracking branch 'mruby/master' into mrbgems
Diffstat (limited to 'test/t')
| -rw-r--r-- | test/t/array.rb | 4 | ||||
| -rw-r--r-- | test/t/time.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/t/array.rb b/test/t/array.rb index 560faf8e7..90fa85c7f 100644 --- a/test/t/array.rb +++ b/test/t/array.rb @@ -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 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 |
