mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-16 10:55:09 +00:00
t Update allTests so newer, simpler style
This commit is contained in:
1 file changed
+3
-5
@@ -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),
|
]
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user