mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
t Define test as throws
This commit is contained in:
parent
31825b2410
commit
f26e495403
@ -3,7 +3,7 @@ import XCTest
|
||||
|
||||
class GildedRoseTests: XCTestCase {
|
||||
|
||||
func testFoo() {
|
||||
func testFoo() throws {
|
||||
let items = [Item(name: "foo", sellIn: 0, quality: 0)]
|
||||
let app = GildedRose(items: items)
|
||||
app.updateQuality()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user