Commit 240bbc39 authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Fix the order of "expected" and "actual" in `mruby-time` test

parent 43a26aa9
...@@ -72,7 +72,7 @@ assert('Time#+', '15.2.19.7.1') do ...@@ -72,7 +72,7 @@ assert('Time#+', '15.2.19.7.1') do
t1 = Time.at(1300000000.0) t1 = Time.at(1300000000.0)
t2 = t1.+(60) t2 = t1.+(60)
assert_equal(t2.utc.asctime, "Sun Mar 13 07:07:40 2011") assert_equal("Sun Mar 13 07:07:40 2011", t2.utc.asctime)
assert_raise(FloatDomainError) { Time.at(0) + Float::NAN } assert_raise(FloatDomainError) { Time.at(0) + Float::NAN }
assert_raise(FloatDomainError) { Time.at(0) + Float::INFINITY } assert_raise(FloatDomainError) { Time.at(0) + Float::INFINITY }
...@@ -83,7 +83,7 @@ assert('Time#-', '15.2.19.7.2') do ...@@ -83,7 +83,7 @@ assert('Time#-', '15.2.19.7.2') do
t1 = Time.at(1300000000.0) t1 = Time.at(1300000000.0)
t2 = t1.-(60) t2 = t1.-(60)
assert_equal(t2.utc.asctime, "Sun Mar 13 07:05:40 2011") assert_equal("Sun Mar 13 07:05:40 2011", t2.utc.asctime)
assert_raise(FloatDomainError) { Time.at(0) - Float::NAN } assert_raise(FloatDomainError) { Time.at(0) - Float::NAN }
assert_raise(FloatDomainError) { Time.at(0) - Float::INFINITY } assert_raise(FloatDomainError) { Time.at(0) - Float::INFINITY }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment