aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_file.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb
index 26b29785ab..f6fcf89a14 100644
--- a/test/ruby/test_file.rb
+++ b/test/ruby/test_file.rb
@@ -117,5 +117,6 @@ class TestFile < Test::Unit::TestCase
def test_uninitialized
assert_raise(TypeError) { File::Stat.allocate.readable? }
+ assert_nothing_raised { File::Stat.allocate.inspect }
end
end