t Update allTests so newer, simpler style

This commit is contained in:
Jon Reid 2021-08-20 21:28:56 -07:00
parent f26e495403
commit 3ef1dc16fb
No known key found for this signature in database
GPG Key ID: 27DEB93ABA9EEA26

View File

@ -10,9 +10,7 @@ class GildedRoseTests: XCTestCase {
XCTAssertEqual("fixme", app.items[0].name);
}
static var allTests : [(String, (GildedRoseTests) -> () throws -> Void)] {
return [
static var allTests = [
("testFoo", testFoo),
]
}
}