summaryrefslogtreecommitdiff
path: root/excelize_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2018-05-26 16:23:15 +0800
committerxuri <xuri.me@gmail.com>2018-05-26 16:23:15 +0800
commitaaced358f135ea871428bba87bb945cc170eee0f (patch)
treed5d94f019dfe3985eed9bd8ae9353846407ac608 /excelize_test.go
parentd96440edc480976e3ec48958c68e67f7a506ad32 (diff)
- Initialize shared formula types support, relate issue #227;
- go test and godoc has been updated
Diffstat (limited to 'excelize_test.go')
-rw-r--r--excelize_test.go4
1 files changed, 4 insertions, 0 deletions
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")