File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ def test_output_inline_by_default
73
73
create_test_file "post" , pass : false
74
74
75
75
output = run_test_command ( "test/post_test.rb" )
76
- expect = %r{Running:\n \n PostTest\n F\n \n Failure:\n PostTest#test_truth \[ [^ \] ]+ test/post_test.rb:6\] :\n wups!\n \n bin/test (/private)?#{ plugin_path } /test/post_test.rb:4}
76
+ expect = %r{Running:\n \n PostTest\n F\n \n Failure:\n PostTest#test_truth \[ .*? test/post_test.rb:6\] :\n wups!\n \n bin/test (/private)?#{ plugin_path } /test/post_test.rb:4}
77
77
assert_match expect , output
78
78
end
79
79
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def test_rerun_snippet_is_relative_path
27
27
create_test_file "post" , pass : false
28
28
29
29
output = run_test_command ( "test/post_test.rb" )
30
- expect = %r{Running:\n \n PostTest\n F\n \n Failure:\n PostTest#test_truth \[ [^ \] ]+ test/post_test\. rb:6\] :\n wups!\n \n bin/rails test test/post_test\. rb:4}
30
+ expect = %r{Running:\n \n PostTest\n F\n \n Failure:\n PostTest#test_truth \[ .*? test/post_test\. rb:6\] :\n wups!\n \n bin/rails test test/post_test\. rb:4}
31
31
assert_match expect , output
32
32
end
33
33
You can’t perform that action at this time.
0 commit comments