Skip to content

Commit b34e05a

Browse files
committed
Pass through file and line to XCTAssertEqual in Counter
1 parent 2bd88a1 commit b34e05a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/AsyncQueueTests/AsyncQueueTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ final class AsyncQueueTests: XCTestCase {
175175
// MARK: - Counter
176176

177177
private actor Counter {
178-
func incrementAndExpectCount(equals expectedCount: Int) {
178+
func incrementAndExpectCount(equals expectedCount: Int, file: StaticString = #filePath, line: UInt = #line) {
179179
increment()
180-
XCTAssertEqual(expectedCount, count)
180+
XCTAssertEqual(expectedCount, count, file: file, line: line)
181181
}
182182

183183
func increment() {

0 commit comments

Comments
 (0)