summaryrefslogtreecommitdiff
path: root/test/bench/regex-dna.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/bench/regex-dna.go')
-rw-r--r--test/bench/regex-dna.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bench/regex-dna.go b/test/bench/regex-dna.go
index 75133dc85..2e1ab8edb 100644
--- a/test/bench/regex-dna.go
+++ b/test/bench/regex-dna.go
@@ -37,7 +37,7 @@ package main
import (
"fmt";
- "io";
+ "io/ioutil";
"os";
"regexp";
"strings";
@@ -88,7 +88,7 @@ func countMatches(pat string, bytes []byte) int {
}
func main() {
- bytes, err := io.ReadFile("/dev/stdin");
+ bytes, err := ioutil.ReadFile("/dev/stdin");
if err != nil {
fmt.Fprintf(os.Stderr, "can't read input: %s\n", err);
os.Exit(2);