diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-14 01:29:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-14 01:29:23 +0000 |
commit | 65dd1434b3c5c61ec1347b04dd809b5f755bc95d (patch) | |
tree | 65180add6247af1bc955b20df7862451a8ef1b52 /test/io | |
parent | e4c79d0d10429ac7d48641a66091f0292d807a9d (diff) | |
download | ruby-65dd1434b3c5c61ec1347b04dd809b5f755bc95d.tar.gz |
Suppress uninitialized instance variable warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/io')
-rw-r--r-- | test/io/console/test_io_console.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index 9ad07bce8b..db3814d51c 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -14,7 +14,7 @@ class TestIO_Console < Test::Unit::TestCase end def set_winsize_teardown - trap(:TTOU, @old_ttou) if @old_ttou + trap(:TTOU, @old_ttou) if defined?(@old_ttou) and @old_ttou end end |