diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-19 07:58:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-19 07:58:09 +0000 |
commit | c7f815eed897a8d78b19e041a569d2667a403f4a (patch) | |
tree | 90af8141d302f84fea9294733db66b5544062254 /test/ruby/test_file_exhaustive.rb | |
parent | 41f4317f45021460871bd11c666f438f5517904b (diff) |
test/ruby: suppress runtime warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_file_exhaustive.rb')
-rw-r--r-- | test/ruby/test_file_exhaustive.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index 53b867e56b..53b75c6594 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -107,7 +107,7 @@ class TestFileExhaustive < Test::Unit::TestCase end def symlinkfile - return @symlinkfile if @symlinkfile + return @symlinkfile if defined? @symlinkfile @symlinkfile = make_tmp_filename("symlinkfile") begin File.symlink(regular_file, @symlinkfile) |