mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
supress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a967f738c8
commit
37679ee584
20 changed files with 77 additions and 77 deletions
|
@ -492,7 +492,7 @@ class TestFileExhaustive < Test::Unit::TestCase
|
|||
f.close
|
||||
make_file("foo", @file)
|
||||
|
||||
assert_raise(IOError) { File.open(@file) {|f| f.truncate(0)} }
|
||||
assert_raise(IOError) { File.open(@file) {|ff| ff.truncate(0)} }
|
||||
rescue NotImplementedError
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue