aboutsummaryrefslogtreecommitdiffstats
path: root/test/roo
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2019-02-01 19:22:38 -0500
committerLibravatarUnit 193 <unit193@ubuntu.com>2019-02-01 19:22:38 -0500
commit46eadd2724cd841328d90c3143a485fcdf423ed6 (patch)
treeeb23c011f1c80a4cce169d9d9523a28927770b12 /test/roo
parent16dd018ca735392c2fb28b986316a9b22a06ccf9 (diff)
New upstream version 2.8.2upstream/2.8.2
Diffstat (limited to 'test/roo')
-rw-r--r--test/roo/test_excelx.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/roo/test_excelx.rb b/test/roo/test_excelx.rb
index 75ecfa2..9d460af 100644
--- a/test/roo/test_excelx.rb
+++ b/test/roo/test_excelx.rb
@@ -302,6 +302,11 @@ class TestRworkbookExcelx < Minitest::Test
end
end
+ def test_handles_link_without_hyperlink
+ workbook = Roo::Spreadsheet.open(File.join(TESTDIR, "bad_link.xlsx"))
+ assert_equal "Test", workbook.cell(1, 1)
+ end
+
# Excel has two base date formats one from 1900 and the other from 1904.
# see #test_base_dates_in_excel
def test_base_dates_in_excelx