New failure in MRI's test_time
------------------------------

                 Key: JRUBY-3498
                 URL: http://jira.codehaus.org/browse/JRUBY-3498
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.2
            Reporter: Charles Oliver Nutter
             Fix For: JRuby 1.3


Had to comment out some of these tests from MRI's test_time. Uncomment if you 
fix it:

{noformat}
  def test_at
    assert_equal(100000, Time.at(0.1).usec)
    assert_equal(10000, Time.at(0.01).usec)
    assert_equal(1000, Time.at(0.001).usec)
    assert_equal(100, Time.at(0.0001).usec)
    assert_equal(10, Time.at(0.00001).usec)
    assert_equal(1, Time.at(0.000001).usec)
    assert_equal(0, Time.at(1e-7).usec)
    assert_equal(0, Time.at(4e-7).usec)
#    assert_equal(1, Time.at(6e-7).usec)
    assert_equal(1, Time.at(14e-7).usec)
#    assert_equal(2, Time.at(16e-7).usec)
    if negative_time_t?
      assert_equal(0, Time.at(-1e-7).usec)
      assert_equal(0, Time.at(-4e-7).usec)
#      assert_equal(999999, Time.at(-6e-7).usec)
#      assert_equal(999999, Time.at(-14e-7).usec)
#      assert_equal(999998, Time.at(-16e-7).usec)
    end
  end
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to