diff options
author | xuri <xuri.me@gmail.com> | 2022-08-12 00:32:51 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-08-12 00:32:51 +0800 |
commit | 8152bbb2cec76f074dc18c43f3c66bf8abdf9de0 (patch) | |
tree | 5052a82092f141cda644c83d5e891d2edf769aa8 /lib_test.go | |
parent | ed91cddea59ce15da87ab744ac20b465a36ed5ef (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.go | 4 |
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)) |