about summary refs log tree commit homepage
path: root/test/test_format.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_format.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_format.rb')
-rw-r--r--test/test_format.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_format.rb b/test/test_format.rb
index 0c0b292..f251e6b 100644
--- a/test/test_format.rb
+++ b/test/test_format.rb
@@ -4,7 +4,7 @@ require './test/helper'
 require 'tempfile'
 require 'dtas/format'
 
-class TestFormat < Minitest::Unit::TestCase
+class TestFormat < Testcase
   def test_initialize
     fmt = DTAS::Format.new
     assert_equal %w(-ts32 -c2 -r44100), fmt.to_sox_arg