mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Got explicit about encodings.
This commit is contained in:
parent
e3e461d7cb
commit
3fb3cc8269
@ -14,8 +14,8 @@ class FUSETests: XCTestCase {
|
||||
func testFUSE() {
|
||||
if let inputFilename = Bundle(for: type(of: self)).path(forResource: "tests", ofType: "in"),
|
||||
let outputFilename = Bundle(for: type(of: self)).path(forResource: "tests", ofType: "expected") {
|
||||
if let input = try? String(contentsOf: URL(fileURLWithPath: inputFilename)),
|
||||
let output = try? String(contentsOf: URL(fileURLWithPath: outputFilename)) {
|
||||
if let input = try? String(contentsOf: URL(fileURLWithPath: inputFilename), encoding: .utf8),
|
||||
let output = try? String(contentsOf: URL(fileURLWithPath: outputFilename), encoding: .utf8) {
|
||||
|
||||
let machine = CSTestMachineZ80()
|
||||
// machine.setData(testData, atAddress: 0x0100)
|
||||
|
Loading…
x
Reference in New Issue
Block a user