summaryrefslogtreecommitdiff
path: root/excelize_test.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2018-04-08 10:31:11 +0800
committerRi Xu <xuri.me@gmail.com>2018-04-08 10:31:11 +0800
commit564ebe48dd660347c7ac5cdebe3395e4a085f19b (patch)
treef83770df0cdead6d540b655bf3b960b44f75f27a /excelize_test.go
parenta6fc5a721dfcb4974342603ebff8a4032c58a797 (diff)
- Fix `checkCellInArea()` index out of range when merged cell ref is single coordinate, relate issue #206;
- go test updated; - Repository icon for SourceTree has been added
Diffstat (limited to 'excelize_test.go')
-rw-r--r--excelize_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/excelize_test.go b/excelize_test.go
index efffe8c..ade3baf 100644
--- a/excelize_test.go
+++ b/excelize_test.go
@@ -332,6 +332,7 @@ func TestMergeCell(t *testing.T) {
xlsx.SetCellHyperLink("Sheet1", "J11", "https://github.com/360EntSecGroup-Skylar/excelize", "External")
xlsx.SetCellFormula("Sheet1", "G12", "SUM(Sheet1!B19,Sheet1!C19)")
xlsx.GetCellValue("Sheet1", "H11")
+ xlsx.GetCellValue("Sheet2", "A6") // Merged cell ref is single coordinate.
xlsx.GetCellFormula("Sheet1", "G12")
err = xlsx.Save()
if err != nil {