diff options
Diffstat (limited to 'resources/testhelpers_test.go')
-rw-r--r-- | resources/testhelpers_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/resources/testhelpers_test.go b/resources/testhelpers_test.go index 3a4e7e580..09268402e 100644 --- a/resources/testhelpers_test.go +++ b/resources/testhelpers_test.go @@ -3,7 +3,6 @@ package resources import ( "image" "io" - "io/ioutil" "os" "path/filepath" "runtime" @@ -106,7 +105,7 @@ func newTestResourceOsFs(c *qt.C) (*Spec, string) { cfg := createTestCfg() cfg.Set("baseURL", "https://example.com") - workDir, err := ioutil.TempDir("", "hugores") + workDir, err := os.MkdirTemp("", "hugores") c.Assert(err, qt.IsNil) c.Assert(workDir, qt.Not(qt.Equals), "") |