We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f80fa2 commit bd914e5Copy full SHA for bd914e5
command_test.go
@@ -18,7 +18,7 @@ import (
18
"bytes"
19
"context"
20
"fmt"
21
- "io/ioutil"
+ "io"
22
"os"
23
"reflect"
24
"strings"
@@ -2092,12 +2092,12 @@ func TestCommandPrintRedirection(t *testing.T) {
2092
t.Error(err)
2093
}
2094
2095
- gotErrBytes, err := ioutil.ReadAll(errBuff)
+ gotErrBytes, err := io.ReadAll(errBuff)
2096
if err != nil {
2097
2098
2099
2100
- gotOutBytes, err := ioutil.ReadAll(outBuff)
+ gotOutBytes, err := io.ReadAll(outBuff)
2101
2102
2103
0 commit comments