aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-20 08:21:24 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-20 08:21:24 +0000
commit7b3ac07781be812468674911825e86cd82dfb5b8 (patch)
treef6dec0c5ba0613bec563192855ae034fa2eba215 /test
parentb58a30e1c14e971adba4096104274d5d692492e9 (diff)
downloadruby-7b3ac07781be812468674911825e86cd82dfb5b8.tar.gz
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
Diffstat (limited to 'test')
-rw-r--r--test/test_extlibs.rb2
-rw-r--r--test/test_mathn.rb2
2 files changed, 0 insertions, 4 deletions
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