Make it work pre go 1.16

This commit is contained in:
Ivan Izaguirre 2021-09-26 01:43:21 +02:00
parent 4f963b0bd6
commit 7143cdc2de
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ package core6502
import (
"encoding/json"
"fmt"
"os"
"io/ioutil"
"testing"
)
@ -72,7 +72,7 @@ func TestHarteCMOS65c02(t *testing.T) {
}
func testOpcode(t *testing.T, s *State, path string, opcode string) {
data, err := os.ReadFile(path + opcode + ".json")
data, err := ioutil.ReadFile(path + opcode + ".json")
if err != nil {
t.Fatal(err)
}