Make test cases run again.

This commit is contained in:
Maurice Parker
2019-05-03 17:29:54 -05:00
parent 5a852c1615
commit 1b49788a0a
4 changed files with 4 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ class AppleScriptXCTestCase: XCTestCase {
func doIndividualScript(filename:String) -> NSAppleEventDescriptor? {
var errorDict: NSDictionary? = nil
let testBundle = Bundle(for: type(of: self))
let url = testBundle.url(forResource:filename, withExtension:"applescript", subdirectory:"TestScripts")
let url = testBundle.url(forResource:filename, withExtension:"scpt")
guard let testScriptUrl = url else {
XCTFail("Failed Getting script URL")
return nil