summaryrefslogtreecommitdiffstats
path: root/resources/image_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'resources/image_test.go')
-rw-r--r--resources/image_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/image_test.go b/resources/image_test.go
index 3cb1089f4..e9d875ec0 100644
--- a/resources/image_test.go
+++ b/resources/image_test.go
@@ -18,7 +18,6 @@ import (
"fmt"
"image"
"image/gif"
- "io/ioutil"
"math/big"
"math/rand"
"os"
@@ -750,9 +749,9 @@ func TestImageOperationsGolden(t *testing.T) {
func assetGoldenDirs(c *qt.C, dir1, dir2 string) {
// The two dirs above should now be the same.
- dirinfos1, err := ioutil.ReadDir(dir1)
+ dirinfos1, err := os.ReadDir(dir1)
c.Assert(err, qt.IsNil)
- dirinfos2, err := ioutil.ReadDir(dir2)
+ dirinfos2, err := os.ReadDir(dir2)
c.Assert(err, qt.IsNil)
c.Assert(len(dirinfos1), qt.Equals, len(dirinfos2))