Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pkg/library/env/workspaceenv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package env

import (
"io/ioutil"
"os"
"path/filepath"
"testing"

Expand Down Expand Up @@ -61,7 +61,7 @@ type TestOutput struct {
}

func loadTestCaseOrPanic(t *testing.T, testFilepath string) TestCase {
bytes, err := ioutil.ReadFile(testFilepath)
bytes, err := os.ReadFile(testFilepath)
if err != nil {
t.Fatal(err)
}
Expand All @@ -73,7 +73,7 @@ func loadTestCaseOrPanic(t *testing.T, testFilepath string) TestCase {
}

func loadAllTestsOrPanic(t *testing.T, fromDir string) []TestCase {
files, err := ioutil.ReadDir(fromDir)
files, err := os.ReadDir(fromDir)
if err != nil {
t.Fatal(err)
}
Expand Down
Loading