diff options
author | Yves Senn <yves.senn@gmail.com> | 2016-02-15 17:36:54 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2016-02-15 17:36:54 +0100 |
commit | 156c2cb571af8c2049e61c50232084a9351f428b (patch) | |
tree | a2226961dda6f2c4b59f14bb1a51279e76087c1a /railties | |
parent | 0ff1d9b4336352f63b95e0ac4df2823763304a99 (diff) | |
download | rails-156c2cb571af8c2049e61c50232084a9351f428b.tar.gz rails-156c2cb571af8c2049e61c50232084a9351f428b.tar.bz2 rails-156c2cb571af8c2049e61c50232084a9351f428b.zip |
fix more failing tests due to 07e422f ... :pray:
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/test_unit/reporter_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/test_unit/reporter_test.rb b/railties/test/test_unit/reporter_test.rb index 2d08d4ec30..7dad2b7779 100644 --- a/railties/test/test_unit/reporter_test.rb +++ b/railties/test/test_unit/reporter_test.rb @@ -62,7 +62,7 @@ class TestUnitReporterTest < ActiveSupport::TestCase @reporter.record(failed_test) @reporter.report - expect = %r{\AF\n\nFailure:\nTestUnitReporterTest::ExampleTest#woot:\nboo\n\nbin/rails test test/test_unit/reporter_test.rb:\d+\n\n\z} + expect = %r{\AF\n\nFailure:\nTestUnitReporterTest::ExampleTest#woot \[[^\]]+\]:\nboo\n\nbin/rails test test/test_unit/reporter_test.rb:\d+\n\n\z} assert_match expect, @output.string end @@ -79,7 +79,7 @@ class TestUnitReporterTest < ActiveSupport::TestCase verbose.record(skipped_test) verbose.report - expect = %r{\ATestUnitReporterTest::ExampleTest#woot = 10\.00 s = S\n\n\nSkipped:\nTestUnitReporterTest::ExampleTest#woot:\nskipchurches, misstemples\n\nbin/rails test test/test_unit/reporter_test.rb:\d+\n\n\z} + expect = %r{\ATestUnitReporterTest::ExampleTest#woot = 10\.00 s = S\n\n\nSkipped:\nTestUnitReporterTest::ExampleTest#woot \[[^\]]+\]:\nskipchurches, misstemples\n\nbin/rails test test/test_unit/reporter_test.rb:\d+\n\n\z} assert_match expect, @output.string end |