summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_package_tar_reader_entry.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_package_tar_reader_entry.rb')
-rw-r--r--test/rubygems/test_gem_package_tar_reader_entry.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_package_tar_reader_entry.rb b/test/rubygems/test_gem_package_tar_reader_entry.rb
index 1143187..335601b 100644
--- a/test/rubygems/test_gem_package_tar_reader_entry.rb
+++ b/test/rubygems/test_gem_package_tar_reader_entry.rb
@@ -92,6 +92,14 @@ class TestGemPackageTarReaderEntry < Gem::Package::TarTestCase
close_util_entry(dir_ent) if dir_ent
end
+ def test_symlink_eh
+ assert_equal false, @entry.symlink?
+ symlink_ent = util_symlink_entry
+ assert_equal true, symlink_ent.symlink?
+ ensure
+ close_util_entry(symlink_ent) if symlink_ent
+ end
+
def test_file_eh
assert_equal true, @entry.file?
dir_ent = util_dir_entry
@@ -131,4 +139,3 @@ class TestGemPackageTarReaderEntry < Gem::Package::TarTestCase
end
end
-