diff --git a/source/workbook/tests/test_workbook.hpp b/source/workbook/tests/test_workbook.hpp index e07b0901..6cb91c03 100644 --- a/source/workbook/tests/test_workbook.hpp +++ b/source/workbook/tests/test_workbook.hpp @@ -207,4 +207,10 @@ public: TS_ASSERT_EQUALS(test_sheet.get_cell("A1").get_value(), float_value); } + + void test_read_empty_shared_strings() + { + xlnt::workbook test_ss; + TS_ASSERT_THROWS_NOTHING(test_ss.load(PathHelper::GetDataDirectory("/genuine/number_empty_shared_strings.xlsx"))); + } }; diff --git a/tests/data/genuine/number_empty_shared_strings.xlsx b/tests/data/genuine/number_empty_shared_strings.xlsx new file mode 100644 index 00000000..4caadb75 Binary files /dev/null and b/tests/data/genuine/number_empty_shared_strings.xlsx differ