aboutsummaryrefslogtreecommitdiffstats
path: root/test/testunit/test_sorting.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-01 21:05:55 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-02 07:59:54 +0900
commitc68781e9181cb43af1bac29b3c974887205c3bf3 (patch)
tree34019fe4147362f117fdc0b23d2b3533a956ccb5 /test/testunit/test_sorting.rb
parentc3c0e3f5c9444c197779cb242de46dfffda79dec (diff)
downloadruby-c68781e9181cb43af1bac29b3c974887205c3bf3.tar.gz
Split test files for test-framework that are test-unit and minitest to tool direcotry.
Diffstat (limited to 'test/testunit/test_sorting.rb')
-rw-r--r--test/testunit/test_sorting.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/testunit/test_sorting.rb b/test/testunit/test_sorting.rb
deleted file mode 100644
index f9de3ec154..0000000000
--- a/test/testunit/test_sorting.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: false
-require 'test/unit'
-
-class TestTestUnitSorting < Test::Unit::TestCase
- def test_sorting
- result = sorting("--show-skip")
- assert_match(/^ 1\) Skipped:/, result)
- assert_match(/^ 2\) Failure:/, result)
- assert_match(/^ 3\) Error:/, result)
- end
-
- def sorting(*args)
- IO.popen([*@options[:ruby], "#{File.dirname(__FILE__)}/test4test_sorting.rb",
- "--verbose", *args], err: [:child, :out]) {|f|
- f.read
- }
- end
-end