summaryrefslogtreecommitdiff
path: root/lib_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-08-12 00:32:51 +0800
committerxuri <xuri.me@gmail.com>2022-08-12 00:32:51 +0800
commit8152bbb2cec76f074dc18c43f3c66bf8abdf9de0 (patch)
tree5052a82092f141cda644c83d5e891d2edf769aa8 /lib_test.go
parented91cddea59ce15da87ab744ac20b465a36ed5ef (diff)
This closes #1312, #1313, fix number format issue
- Add supported options in the docs of the functions `SetSheetPrOptions` and `GetSheetPrOptions` - Add go1.19 unit test settings, and made the test case compatible with go1.19 - Update dependencies module
Diffstat (limited to 'lib_test.go')
-rw-r--r--lib_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib_test.go b/lib_test.go
index 64acb8a..5fa644e 100644
--- a/lib_test.go
+++ b/lib_test.go
@@ -7,6 +7,7 @@ import (
"fmt"
"io"
"os"
+ "runtime"
"strconv"
"strings"
"sync"
@@ -340,6 +341,9 @@ func TestReadBytes(t *testing.T) {
}
func TestUnzipToTemp(t *testing.T) {
+ if strings.HasPrefix(runtime.Version(), "go1.19") {
+ t.Skip()
+ }
os.Setenv("TMPDIR", "test")
defer os.Unsetenv("TMPDIR")
assert.NoError(t, os.Chmod(os.TempDir(), 0o444))