From aaced358f135ea871428bba87bb945cc170eee0f Mon Sep 17 00:00:00 2001 From: xuri Date: Sat, 26 May 2018 16:23:15 +0800 Subject: - Initialize shared formula types support, relate issue #227; - go test and godoc has been updated --- excelize_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'excelize_test.go') diff --git a/excelize_test.go b/excelize_test.go index f1f23b4..bf6ff4c 100644 --- a/excelize_test.go +++ b/excelize_test.go @@ -56,6 +56,10 @@ func TestOpenFile(t *testing.T) { // Test get cell formula with illegal rows number. xlsx.GetCellFormula("Sheet1", "B20") xlsx.GetCellFormula("Sheet1", "B") + // Test get shared cell formula + xlsx.GetCellFormula("Sheet2", "H11") + xlsx.GetCellFormula("Sheet2", "I11") + getSharedForumula(&xlsxWorksheet{}, "") // Test read cell value with given illegal rows number. xlsx.GetCellValue("Sheet2", "a-1") xlsx.GetCellValue("Sheet2", "A") -- cgit v1.2.1