Skip to content

Commit a585ec3

Browse files
aardvark179eregon
authored andcommitted
Allow warnings from system ruby in spawn specs.
1 parent 611cab7 commit a585ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/process/spawn_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
code = "STDERR.puts 'hello'"
2727
cmd = "Process.wait Process.spawn(#{ruby_cmd(code).inspect}, #{@options.inspect})"
2828
ruby_exe(cmd, args: "2> #{@output}")
29-
File.binread(@output).should == "hello#{newline}"
29+
File.binread(@output).should =~ /hello#{newline}/
3030
end
3131
end
3232
end

0 commit comments

Comments
 (0)