mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
t Update allTests so newer, simpler style
This commit is contained in:
parent
f26e495403
commit
3ef1dc16fb
@ -10,9 +10,7 @@ class GildedRoseTests: XCTestCase {
|
|||||||
XCTAssertEqual("fixme", app.items[0].name);
|
XCTAssertEqual("fixme", app.items[0].name);
|
||||||
}
|
}
|
||||||
|
|
||||||
static var allTests : [(String, (GildedRoseTests) -> () throws -> Void)] {
|
static var allTests = [
|
||||||
return [
|
|
||||||
("testFoo", testFoo),
|
("testFoo", testFoo),
|
||||||
]
|
]
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user