From d9e2583af1654c791934731317ad795c8cb15b1e Mon Sep 17 00:00:00 2001 From: TommyStarK Date: Mon, 29 May 2023 19:34:54 +0200 Subject: [PATCH] test/e2e: replace deprecated ioutil Signed-off-by: TommyStarK --- test/e2e/framework/internal/output/output.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/framework/internal/output/output.go b/test/e2e/framework/internal/output/output.go index 053c36012a7..e64c0894e5c 100644 --- a/test/e2e/framework/internal/output/output.go +++ b/test/e2e/framework/internal/output/output.go @@ -18,7 +18,7 @@ package output import ( "encoding/xml" - "io/ioutil" + "os" "path" "regexp" "testing" @@ -52,7 +52,7 @@ func TestGinkgoOutput(t *testing.T, expected TestResult, runSpecsArgs ...interfa ginkgo.RunSpecs(fakeT, "Logging Suite", runSpecsArgs...) var actual reporters.JUnitTestSuites - data, err := ioutil.ReadFile(junitFile) + data, err := os.ReadFile(junitFile) require.NoError(t, err) err = xml.Unmarshal(data, &actual) require.NoError(t, err)