diff options
author | Ri Xu <xuri@b.360.cn> | 2016-11-02 12:58:51 +0800 |
---|---|---|
committer | Ri Xu <xuri@b.360.cn> | 2016-11-02 12:58:51 +0800 |
commit | 78eb9820525c4be2b6505c262e8e0e6656c3dc26 (patch) | |
tree | eb52bedc65ef3540df3a10a1891e3e05b7c0bb39 /excelize_test.go | |
parent | b4f7e72353c4c699770f5f1849c1f3b3d96db2ff (diff) |
Remove useless `.xlsx` tested files and go test updated.
Diffstat (limited to 'excelize_test.go')
-rw-r--r-- | excelize_test.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/excelize_test.go b/excelize_test.go index 292b358..887fea8 100644 --- a/excelize_test.go +++ b/excelize_test.go @@ -11,6 +11,16 @@ func TestExcelize(t *testing.T) { if err != nil { t.Log(err) } + // Test get all the rows in a not exists sheet. + rows := f1.GetRows("Sheet4") + // Test get all the rows in a sheet. + rows = f1.GetRows("Sheet2") + for _, row := range rows { + for _, cell := range row { + t.Log(cell, "\t") + } + t.Log("\r\n") + } f1.UpdateLinkedValue() f1.SetCellInt("SHEET2", "A1", 100) f1.SetCellStr("SHEET2", "C11", "Knowns") |