aboutsummaryrefslogtreecommitdiffstats
path: root/worker/lib/parse_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/lib/parse_test.go')
-rw-r--r--worker/lib/parse_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/worker/lib/parse_test.go b/worker/lib/parse_test.go
index 7e5bb367..227b121e 100644
--- a/worker/lib/parse_test.go
+++ b/worker/lib/parse_test.go
@@ -2,7 +2,6 @@ package lib
import (
"io"
- "io/ioutil"
"os"
"path/filepath"
"testing"
@@ -12,7 +11,7 @@ import (
func TestMessageInfoParser(t *testing.T) {
rootDir := "testdata/message/valid"
- msgFiles, err := ioutil.ReadDir(rootDir)
+ msgFiles, err := os.ReadDir(rootDir)
die(err)
for _, fi := range msgFiles {
@@ -37,7 +36,7 @@ func TestMessageInfoParser(t *testing.T) {
func TestMessageInfoHandledError(t *testing.T) {
rootDir := "testdata/message/invalid"
- msgFiles, err := ioutil.ReadDir(rootDir)
+ msgFiles, err := os.ReadDir(rootDir)
die(err)
for _, fi := range msgFiles {