summaryrefslogtreecommitdiff
path: root/excelize_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2020-11-06 20:03:13 +0800
committerxuri <xuri.me@gmail.com>2020-11-06 20:03:13 +0800
commit5dd0b4aec2931079e064f1fb393b034ce4934540 (patch)
tree118b86bc2460f46b33de4aefcce0bb0b2a768afa /excelize_test.go
parentcdc57db3b3758781bd053228bfb32879b3adf3de (diff)
using POSIX directory separator in zip path with Windows
Diffstat (limited to 'excelize_test.go')
-rw-r--r--excelize_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/excelize_test.go b/excelize_test.go
index 1b48872..d838a1f 100644
--- a/excelize_test.go
+++ b/excelize_test.go
@@ -21,6 +21,14 @@ import (
"github.com/stretchr/testify/assert"
)
+func TestCurrency(t *testing.T) {
+ f, err := OpenFile(filepath.Join("test", "Book1.xlsx"))
+ assert.NoError(t, err)
+ // f.NewSheet("Sheet3")
+ go f.SetCellValue("Sheet1", "A1", "value")
+ go f.SetCellValue("Sheet2", "A1", "value")
+}
+
func TestOpenFile(t *testing.T) {
// Test update the spreadsheet file.
f, err := OpenFile(filepath.Join("test", "Book1.xlsx"))