mirror of
https://github.com/TomHarte/CLK.git
synced 2024-09-11 22:56:20 +00:00
Merge pull request #845 from MaddTheSane/patch-1
Update 65816kromTests.swift
This commit is contained in:
commit
5149e4364a
@ -20,11 +20,7 @@ class Krom65816Tests: XCTestCase {
|
||||
|
||||
// MARK: - Test Runner
|
||||
|
||||
func runTest(_ name: String) {
|
||||
runTest(name, pcLimit: nil)
|
||||
}
|
||||
|
||||
func runTest(_ name: String, pcLimit: UInt32?) {
|
||||
func runTest(_ name: String, pcLimit: UInt32? = nil) {
|
||||
var testData: Data?
|
||||
if let filename = Bundle(for: type(of: self)).path(forResource: name, ofType: "sfc") {
|
||||
testData = try? Data(contentsOf: URL(fileURLWithPath: filename))
|
||||
|
Loading…
Reference in New Issue
Block a user