Skip to content

Commit 0d38cd7

Browse files
committed
Handle Windows CI output in tag_from_output.rb mspec tool
1 parent 6efc97a commit 0d38cd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/mspec/tool/tag_from_output.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
NUMBER = /^\d+\)$/
2222
ERROR_OR_FAILED = / (ERROR|FAILED)$/
23-
SPEC_FILE = /^(\/.+_spec\.rb)\:\d+/
23+
SPEC_FILE = /^((?:\/|[CD]:\/).+_spec\.rb)\:\d+/
2424

2525
output.slice_before(NUMBER).select { |number, *rest|
2626
number =~ NUMBER and rest.any? { |line| line =~ ERROR_OR_FAILED }

0 commit comments

Comments
 (0)