Skip to content
Permalink
Browse files

Do a test comparison on a per line basis

This makes it easier to find specific errors
  • Loading branch information
rickerbh committed Sep 22, 2016
1 parent ea718bf commit ea2f4273b22b1dc61e2bfbb943c8f9874b2bc523
Showing with 3 additions and 1 deletion.
  1. +3 −1 GildedRoseTests/GildedRoseTests.swift
@@ -51,7 +51,9 @@ class GildedRoseTests: XCTestCase {
app.updateQuality()
}

XCTAssertEqual(expectedValue, runContent)
for pair in zip(expectedValue, runContent) {
XCTAssertEqual(pair.0, pair.1)
}
}

func testSellDateDecrements() {

0 comments on commit ea2f427

Please sign in to comment.
You can’t perform that action at this time.