summaryrefslogtreecommitdiff
path: root/src/pkg/ebnf/ebnf_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/ebnf/ebnf_test.go')
-rw-r--r--src/pkg/ebnf/ebnf_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/ebnf/ebnf_test.go b/src/pkg/ebnf/ebnf_test.go
index 3eda8d9a3..a487bdc2c 100644
--- a/src/pkg/ebnf/ebnf_test.go
+++ b/src/pkg/ebnf/ebnf_test.go
@@ -5,7 +5,7 @@
package ebnf
import (
- "io";
+ "io/ioutil";
"strings";
"testing";
)
@@ -65,7 +65,7 @@ var files = []string{
func TestFiles(t *testing.T) {
for _, filename := range files {
- src, err := io.ReadFile(filename);
+ src, err := ioutil.ReadFile(filename);
if err != nil {
t.Fatal(err)
}