Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 15635b5992
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (9 sloc) 0.37 kb
require File.expand_path('../../spec_helper', __FILE__)
describe "The error message caused by an exception" do
it "is not printed to stdout" do
out = ruby_exe("this_does_not_exist", :args => "2> #{dev_null()}")
out.chomp.empty?.should == true
out = ruby_exe("end #syntax error", :args => "2> #{dev_null()}")
out.chomp.empty?.should == true
end
end
Jump to Line
Something went wrong with that request. Please try again.