From f2915737c61854e69b57e388f4dbc36f1aee118d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 6 Sep 2013 22:15:52 +0000 Subject: test/*: compatibility class for both minitest 4 and 5 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). --- test/test_format.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_format.rb') 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 -- cgit v1.2.3-24-ge0c7