diff options
author | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-11 23:52:04 +0000 |
---|---|---|
committer | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-11 23:52:04 +0000 |
commit | 9696b3eb16acd9c90f32fd65e3ed95120d8e73c3 (patch) | |
tree | cdccb2458d619e3104a358f82d4ef09192d7de0b /test/minitest/test_minitest_spec.rb | |
parent | 35784d10191308f39f694e8513cfc351d6712865 (diff) | |
download | ruby-9696b3eb16acd9c90f32fd65e3ed95120d8e73c3.tar.gz |
Imported minitest 3.2.0 (r7598). Reviewed by drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/minitest/test_minitest_spec.rb')
-rw-r--r-- | test/minitest/test_minitest_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/minitest/test_minitest_spec.rb b/test/minitest/test_minitest_spec.rb index 68c4dec003..d267e8d7d0 100644 --- a/test/minitest/test_minitest_spec.rb +++ b/test/minitest/test_minitest_spec.rb @@ -645,8 +645,8 @@ class TestMeta < MiniTest::Unit::TestCase assert_equal "inner thingy", y.desc assert_equal "very inner thingy", z.desc - top_methods = %w(test_0001_top_level_it) - inner_methods1 = %w(test_0001_inner_it) + top_methods = %w(test_0001_top-level-it) + inner_methods1 = %w(test_0001_inner-it) inner_methods2 = inner_methods1 + %w(test_0002_anonymous test_0003_anonymous) @@ -690,13 +690,13 @@ class TestMeta < MiniTest::Unit::TestCase x = describe "top-level thingy" do y = describe "first thingy" do end - x1 = it "top-level-it" do end + x1 = it "top level it" do end x2 = it "не латинские буквы-и-спецсимволы&いった α, β, γ, δ, ε hello!!! world" do end z = describe "second thingy" do end end - test_methods = ['test_0001_top_level_it', 'test_0002_не_латинские_буквы_и_спецсимволы_いった_α_β_γ_δ_ε_hello_world'].sort + test_methods = ['test_0001_top level it', 'test_0002_не латинские буквы-и-спецсимволы&いった α, β, γ, δ, ε hello!!! world'].sort assert_equal test_methods, [x1, x2] assert_equal test_methods, |