We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Rational.new
1 parent e0827e2 commit 54711f3Copy full SHA for 54711f3
spec/ruby/core/rational/rational_spec.rb
@@ -4,4 +4,8 @@
4
it "includes Comparable" do
5
Rational.include?(Comparable).should == true
6
end
7
+
8
+ it "does not respond to new" do
9
+ -> { Rational.new(1) }.should raise_error(NoMethodError)
10
+ end
11
test/mri/excludes/Rational_Test.rb
@@ -5,7 +5,6 @@
exclude :test_marshal_compatibility, "needs investigation"
exclude :test_parse, "needs investigation"
exclude :test_power_of_0, "needs investigation"
-exclude :test_ruby19, "needs investigation"
exclude :test_supp, "needs investigation"
exclude :test_to_f, "needs investigation"
exclude :test_Rational_without_exception, "needs investigation"
0 commit comments