Added test for invalid env exec option
This commit is contained in:
parent
693378f105
commit
33aaa2aa15
@ -338,6 +338,10 @@ class TestProcess < Test::Unit::TestCase
|
||||
ensure
|
||||
ENV["hmm"] = old
|
||||
end
|
||||
|
||||
assert_raise_with_message(ArgumentError, /fo=fo/) {
|
||||
system({"fo=fo"=>"ha"}, *ENVCOMMAND)
|
||||
}
|
||||
end
|
||||
|
||||
def test_execopt_env_path
|
||||
|
Loading…
x
Reference in New Issue
Block a user