mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 06:15:33 +00:00
migrate away from deprecated ioutil APIs (#7175)
Co-authored-by: Callum Waters <cmwaters19@gmail.com> Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package mbt
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
"time"
|
||||
@@ -22,7 +22,7 @@ func TestVerify(t *testing.T) {
|
||||
filename := filename
|
||||
t.Run(filename, func(t *testing.T) {
|
||||
|
||||
jsonBlob, err := ioutil.ReadFile(filename)
|
||||
jsonBlob, err := os.ReadFile(filename)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user