From 827b55edad7f6ed346d2d8b7fb5e564f492fe478 Mon Sep 17 00:00:00 2001 From: hsbt Date: Thu, 20 Apr 2017 08:21:24 +0000 Subject: Removed deprecated extensions of mathn. * ext/mathn/{complex,rational}: Removed from ruby core. [fix GH-1542][Feature #13334][ruby-core:80247] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/test_extlibs.rb | 2 -- test/test_mathn.rb | 2 -- 2 files changed, 4 deletions(-) (limited to 'test') diff --git a/test/test_extlibs.rb b/test/test_extlibs.rb index 9b82b4f8cd..7dc22ee8a3 100644 --- a/test/test_extlibs.rb +++ b/test/test_extlibs.rb @@ -61,8 +61,6 @@ class TestExtLibs < Test::Unit::TestCase check_existence "io/nonblock" check_existence "io/wait" check_existence "json" - check_existence "mathn/complex" - check_existence "mathn/rational" check_existence "nkf" check_existence "objspace" check_existence "openssl", "this may be false positive, but should assert because rubygems requires this" diff --git a/test/test_mathn.rb b/test/test_mathn.rb index b50a09e4df..eb93895010 100644 --- a/test/test_mathn.rb +++ b/test/test_mathn.rb @@ -7,8 +7,6 @@ class TestMathn < Test::Unit::TestCase stderr = $VERBOSE ? ["lib/mathn.rb is deprecated"] : [] assert_in_out_err ['-r', 'mathn', '-e', 'a=1**2;!a'], "", [], stderr, '[ruby-core:25740]' assert_in_out_err ['-r', 'mathn', '-e', 'a=(1 << 126)**2;!a'], "", [], stderr, '[ruby-core:25740]' - assert_in_out_err ['-r', 'mathn/complex', '-e', 'a=Complex(0,1)**4;!a'], "", [], [], '[ruby-core:44170]' - assert_in_out_err ['-r', 'mathn/complex', '-e', 'a=Complex(0,1)**5;!a'], "", [], [], '[ruby-core:44170]' end def test_quo -- cgit v1.2.3