about summary refs log tree commit homepage
path: root/test/test_buffer.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-06 22:15:52 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-06 22:15:52 +0000
commitf2915737c61854e69b57e388f4dbc36f1aee118d (patch)
tree1d4463c4e17f491c8c69896bb85d7ddc296aeb7b /test/test_buffer.rb
parent610a024097b870afb7ae8c1b9393647e938bea83 (diff)
downloaddtas-f2915737c61854e69b57e388f4dbc36f1aee118d.tar.gz
This is to avoid annoying deprecation warnings in minitest 5, while
still preserving compatibility with minitest 4 (which is distributed
in Ruby 2.0.0 and part of the standard library).
Diffstat (limited to 'test/test_buffer.rb')
-rw-r--r--test/test_buffer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_buffer.rb b/test/test_buffer.rb
index 259cd4f..677ca62 100644
--- a/test/test_buffer.rb
+++ b/test/test_buffer.rb
@@ -4,7 +4,7 @@ require './test/helper'
 require 'stringio'
 require 'dtas/buffer'
 
-class TestBuffer < Minitest::Unit::TestCase
+class TestBuffer < Testcase
   def teardown
     @to_close.each { |io| io.close unless io.closed? }
   end