revert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
13424f32fe
commit
e98e384be0
@ -1,3 +1,7 @@
|
||||
Wed Dec 3 21:18:27 2008 Tadayoshi Funaba <tadf@dotrb.org>
|
||||
|
||||
* test/ruby/test_rational.rb: revert.
|
||||
|
||||
Wed Dec 3 14:48:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/tk/tcltklib.c (ip_ruby_cmd, ip_invoke_with_position): must
|
||||
|
@ -129,9 +129,6 @@ class Rational_Test < Test::Unit::TestCase
|
||||
assert_raise(ArgumentError){Rational(Object.new)}
|
||||
assert_raise(ArgumentError){Rational()}
|
||||
assert_raise(ArgumentError){Rational(1,2,3)}
|
||||
|
||||
assert_equal(Complex(Rational(1, 2), Rational(1, 2)), Rational(Complex(1, 1), Complex(2, 0)))
|
||||
assert_instance_of(Numeric, Rational.class_eval { convert(Numeric.new) })
|
||||
end
|
||||
|
||||
def test_attr
|
||||
|
Loading…
x
Reference in New Issue
Block a user