From eaccdf33b337c98777cce8b42a0b5bfbd3a1936c Mon Sep 17 00:00:00 2001 From: vizvasrj Date: Thu, 26 Dec 2024 01:12:16 +0530 Subject: [PATCH] refactor(fs): replace ioutil.ReadFile with os.ReadFile --- table_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/table_test.go b/table_test.go index 3abedc90..b992abcb 100644 --- a/table_test.go +++ b/table_test.go @@ -18,7 +18,6 @@ import ( "context" "encoding/json" "fmt" - "io/ioutil" "os" "path" "path/filepath" @@ -41,7 +40,7 @@ func snakeToPascal(s string) string { func readTestTableFile(t *testing.T, dir string) *testTableFile { t.Helper() - data, err := ioutil.ReadFile(dir) + data, err := os.ReadFile(dir) if err != nil { t.Error("Error reading file:", err) }