summaryrefslogtreecommitdiff
path: root/lib_test.go
diff options
context:
space:
mode:
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))