mirror of
https://github.com/ivanizag/izapple2.git
synced 2025-01-15 14:30:23 +00:00
Make it work pre go 1.16
This commit is contained in:
parent
4f963b0bd6
commit
7143cdc2de
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user