diff options
Diffstat (limited to 'hugolib/site_test.go')
-rw-r--r-- | hugolib/site_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hugolib/site_test.go b/hugolib/site_test.go index a2ee56994..494c41c88 100644 --- a/hugolib/site_test.go +++ b/hugolib/site_test.go @@ -17,7 +17,6 @@ import ( "context" "encoding/json" "fmt" - "io/ioutil" "os" "path/filepath" "strings" @@ -1094,7 +1093,7 @@ ABC. b.Build(BuildCfg{}) contentMem := b.FileContent(statsFilename) - cb, err := ioutil.ReadFile(statsFilename) + cb, err := os.ReadFile(statsFilename) b.Assert(err, qt.IsNil) contentFile := string(cb) |