mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
7506a580fe
This is for changing test name prefix. (For testing) * test/testunit/tests_for_parallel/ptest_first.rb: Renamed from test_first.rb * test/testunit/tests_for_parallel/ptest_second.rb: Renamed from test_second.rb * test/testunit/tests_for_parallel/ptest_third.rb: Renamed from test_third.rb * test/testunit/tests_for_parallel/ptest_forth.rb: Renamed from test_forth.rb * test/testunit/tests_for_parallel/runner.rb: Remove misc.rb * test/testunit/tests_for_parallel/ptest_first.rb: ditto. * test/testunit/tests_for_parallel/ptest_second.rb: ditto. * test/testunit/tests_for_parallel/ptest_third.rb: ditto. * test/testunit/tests_for_parallel/ptest_forth.rb: ditto. * test/testunit/tests_for_parallel/misc.rb: Removed because no longer needed. * test/testunit/test_parallel.rb: Fix assertions for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
16 lines
209 B
Ruby
16 lines
209 B
Ruby
require 'test/unit'
|
|
|
|
class TestE < Test::Unit::TestCase
|
|
def test_not_fail
|
|
assert_equal(1,1)
|
|
end
|
|
|
|
def test_always_skip
|
|
skip "always"
|
|
end
|
|
|
|
def test_always_fail
|
|
assert_equal(0,1)
|
|
end
|
|
end
|
|
|