summaryrefslogtreecommitdiff
path: root/excelize_test.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2016-12-24 22:47:36 +0800
committerRi Xu <xuri.me@gmail.com>2016-12-24 22:47:36 +0800
commit30d0a2f40afadf7fef9e008bf2fa557b07560c54 (patch)
tree93e285262af2a31946ca8d691f9957344432307c /excelize_test.go
parenta16d2ec83b5ee3e56cff1aceb266e367a51d312d (diff)
- New function `GetCellFormula` added;
- Fix `GetCellValue` causes panic in some particular situation issues; - Go test updated
Diffstat (limited to 'excelize_test.go')
-rw-r--r--excelize_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/excelize_test.go b/excelize_test.go
index e9ad669..35a395c 100644
--- a/excelize_test.go
+++ b/excelize_test.go
@@ -29,6 +29,9 @@ func TestExcelize(t *testing.T) {
f1.SetCellStr("SHEET3", "b230", "10")
f1.SetCellStr("SHEET10", "b230", "10")
f1.SetActiveSheet(2)
+ f1.GetCellFormula("Sheet1", "B19") // Test get cell formula with given rows number.
+ f1.GetCellFormula("Sheet2", "B20") // Test get cell formula with illegal sheet index.
+ f1.GetCellFormula("Sheet1", "B20") // Test get cell formula with illegal rows number.
// Test read cell value with given illegal rows number.
f1.GetCellValue("Sheet2", "a-1")
// Test read cell value with given lowercase column number.