Skip to content

Commit 7504ccd

Browse files
committed
unsetenv_others: false
1 parent 2a2bb9e commit 7504ccd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/stdlib/Open3_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_popen2
4343
assert_send_type "(*::String) -> [ ::IO, ::IO, ::Process::Waiter ]",
4444
Open3, :popen2, 'echo "Foo"'
4545
assert_send_type "(*::String, unsetenv_others: bool) -> [ ::IO, ::IO, ::Process::Waiter ]",
46-
Open3, :popen2, 'echo "Foo"', unsetenv_others: true
46+
Open3, :popen2, 'echo "Foo"', unsetenv_others: false
4747
assert_send_type "(*::String, close_others: bool) -> [ ::IO, ::IO, ::Process::Waiter ]",
4848
Open3, :popen2, 'echo "Foo"', close_others: true
4949
assert_send_type "(*::String, chdir: ::String) -> [ ::IO, ::IO, ::Process::Waiter ]",
@@ -61,7 +61,7 @@ def test_popen3
6161
assert_send_type "(::String) -> [ ::IO, ::IO, ::IO, ::Process::Waiter ]",
6262
Open3, :popen3, 'echo "Foo"'
6363
assert_send_type "(::String, unsetenv_others: bool) -> [ ::IO, ::IO, ::IO, ::Process::Waiter ]",
64-
Open3, :popen3, 'echo "Foo"', unsetenv_others: true
64+
Open3, :popen3, 'echo "Foo"', unsetenv_others: false
6565
assert_send_type "(::String, close_others: bool) -> [ ::IO, ::IO, ::IO, ::Process::Waiter ]",
6666
Open3, :popen3, 'echo "Foo"', close_others: true
6767
assert_send_type "(::String, chdir: ::String) -> [ ::IO, ::IO, ::IO, ::Process::Waiter ]",

0 commit comments

Comments
 (0)