minor: test fix for Complex class

This commit is contained in:
Kyle Banker 2010-01-21 15:02:03 -05:00
parent faa626b421
commit 002b036c39
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ class BSONTest < Test::Unit::TestCase
end
def test_invalid_numeric_types
[BigDecimal.new("1.0"), Complex.new(0, 1), Rational.new!(2, 3)].each do |type|
[BigDecimal.new("1.0"), Complex(0, 1), Rational.new!(2, 3)].each do |type|
print type.class
doc = {"x" => type}
begin