From ae103e148eb3c15606b816505492d870ef062ad3 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Wed, 8 Feb 2023 00:39:56 -0500 Subject: New upstream version 2.10.0. --- test/roo/test_excelx.rb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/roo') diff --git a/test/roo/test_excelx.rb b/test/roo/test_excelx.rb index 61161f0..c90cd8c 100644 --- a/test/roo/test_excelx.rb +++ b/test/roo/test_excelx.rb @@ -341,6 +341,15 @@ class TestRworkbookExcelx < Minitest::Test assert_equal "Example richtext", xlsx.cell("b", 1) end + def test_implicit_coordinates + xlsx = roo_class.new(File.join(TESTDIR, 'implicit_coordinates.xlsx')) + + assert_equal 'Test', xlsx.cell('a', 1) + assert_equal 'A2', xlsx.cell('a', 2) + assert_equal 'B2', xlsx.cell(2, 2) + assert_equal 'C2', xlsx.cell('c', 2) + end + def roo_class Roo::Excelx end -- cgit v1.2.3