diff options
| author | HParker <HParker@github.com> | 2023-12-19 21:12:18 -0800 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2023-12-20 14:36:32 +0900 |
| commit | 7ef90b3978dad057ad6360a94d2d64e8ca5e9c38 (patch) | |
| tree | cca84ec0c1dbd87b3df8112e7abe6be507da794b /test/ruby | |
| parent | 7dca6b53a995a9782026f726c291344b5b8e0ab2 (diff) | |
Correct free_on_exit env var to free_at_exit
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_rubyoptions.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 8118d59118..38ca119a8f 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -1241,9 +1241,9 @@ class TestRubyOptions < Test::Unit::TestCase assert_in_out_err([IO::NULL], success: true) end - def test_free_on_exit_env_var - env = {"RUBY_FREE_ON_EXIT"=>"1"} + def test_free_at_exit_env_var + env = {"RUBY_FREE_AT_EXIT"=>"1"} assert_ruby_status([env, "-e;"]) - assert_in_out_err([env, "-W"], "", [], /Free on exit is experimental and may be unstable/) + assert_in_out_err([env, "-W"], "", [], /Free at exit is experimental and may be unstable/) end end |
