Skip to content

Commit e0572b4

Browse files
eregonansalond
authored andcommitted
Fix -Xembedded spec to allow warnings messages on STDERR
(cherry picked from commit 12a13eb)
1 parent 98d3895 commit e0572b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/truffle/options/embedded_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
end
3535

3636
it "when enabled will warn about signals" do
37-
ruby_exe("Signal.trap('ALRM') { }", options: "-Xembedded").should =~ /trapping signal ALRM in embedded mode/
37+
ruby_exe("Signal.trap('ALRM') { }", options: "-Xembedded", args: "2>&1").should include("trapping signal ALRM in embedded mode")
3838
end
3939
end

0 commit comments

Comments
 (0)