diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-12-12 20:42:04 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-12-14 15:41:38 +0100 |
| commit | 52fdb3feb7b99ec9c03c41e6dacc67d7df3db01a (patch) | |
| tree | 367bd8fa809d2925f892d9555593ee6a0b2e8eae | |
| parent | 9e6af1b832ae346c8d333d3caa9de0f7ebfcd620 (diff) | |
Verify: Use 'os' for reading a file instead of 'ioutil'
| -rw-r--r-- | internal/verify/verify_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/verify/verify_test.go b/internal/verify/verify_test.go index a80cbfc..36f4189 100644 --- a/internal/verify/verify_test.go +++ b/internal/verify/verify_test.go @@ -3,7 +3,6 @@ package verify import ( "bufio" "fmt" - "io/ioutil" "os" "strings" "testing" @@ -313,7 +312,7 @@ func Test_verifyWithKeys(t *testing.T) { loadFile := func(name string) { _, loaded := files[name] if !loaded { - content, err := ioutil.ReadFile("test_data/" + name) + content, err := os.ReadFile("test_data/" + name) if err != nil { panic(err) } |
