diff options
| author | Adam Kiczula <[email protected]> | 2023-05-20 09:21:01 -0500 |
|---|---|---|
| committer | Adam Kiczula <[email protected]> | 2023-05-20 09:24:35 -0500 |
| commit | 5277073210c711a1ab84d2a0e4b3a2ad3c71e835 (patch) | |
| tree | 2b3bfa1f74433c5252f96fdfc0f875c7c53ba39c /test/workbook | |
| parent | 6a4b82def2e94b4811c38c37e606d426710d1e6c (diff) | |
| download | caxlsx-5277073210c711a1ab84d2a0e4b3a2ad3c71e835.tar.gz caxlsx-5277073210c711a1ab84d2a0e4b3a2ad3c71e835.zip | |
Fix sheet_by_name for sheets with escaped characters
Diffstat (limited to 'test/workbook')
| -rw-r--r-- | test/workbook/tc_workbook.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/workbook/tc_workbook.rb b/test/workbook/tc_workbook.rb index d85c17d9..b1cfdc71 100644 --- a/test/workbook/tc_workbook.rb +++ b/test/workbook/tc_workbook.rb @@ -47,8 +47,10 @@ class TestWorkbook < Test::Unit::TestCase def test_sheet_by_name_retrieval @wb.add_worksheet(:name => 'foo') @wb.add_worksheet(:name => 'bar') + @wb.add_worksheet(:name => "testin'") assert_equal('foo', @wb.sheet_by_name('foo').name) + assert_equal("testin'", @wb.sheet_by_name("testin'").name) end def test_worksheet_empty_name |
