aboutsummaryrefslogtreecommitdiffstats
path: root/test/fiddle/test_function.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-13 09:46:16 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-13 09:46:16 +0000
commit24873d1a0520ceef39c1c492c6b02dbbc186d8ff (patch)
treeb9932565137a7c95ed43e28ef43154e92c962eb3 /test/fiddle/test_function.rb
parent52e8254b548a06c67fc1c130040925d169b8d2b0 (diff)
downloadruby-24873d1a0520ceef39c1c492c6b02dbbc186d8ff.tar.gz
Use Test::Unit::TestCase instead of MiniTest::Unit::TestCase. Because
tests of fiddle already used customized assertions of ruby core. * test/fiddle/helper.rb: Use Test::Unit::TestCase for base class of testcase. * test/fiddle/test_*.rb: Use assert_raise instead of assert_raises. Remove needless includes for Test::Unit::Assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/fiddle/test_function.rb')
-rw-r--r--test/fiddle/test_function.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/fiddle/test_function.rb b/test/fiddle/test_function.rb
index 06d0eb2b50..3cce95a540 100644
--- a/test/fiddle/test_function.rb
+++ b/test/fiddle/test_function.rb
@@ -6,8 +6,6 @@ end
module Fiddle
class TestFunction < Fiddle::TestCase
- include Test::Unit::Assertions
-
def setup
super
Fiddle.last_error = nil