From 8152bbb2cec76f074dc18c43f3c66bf8abdf9de0 Mon Sep 17 00:00:00 2001 From: xuri <xuri.me@gmail.com> Date: Fri, 12 Aug 2022 00:32:51 +0800 Subject: 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 --- lib_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib_test.go') 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)) -- cgit v1.2.1