From 5dd0b4aec2931079e064f1fb393b034ce4934540 Mon Sep 17 00:00:00 2001 From: xuri Date: Fri, 6 Nov 2020 20:03:13 +0800 Subject: using POSIX directory separator in zip path with Windows --- excelize_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'excelize_test.go') 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")) -- cgit v1.2.1