Skip to content

Commit bd68569

Browse files
authored
Commented out ExpectFailure tests for gcd
1 parent 85264c8 commit bd68569

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Tests/IntegerUtilitiesTests/GCDTests.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ final class IntegerUtilitiesGCDTests: XCTestCase {
3535
XCTAssertEqual(gcd(97*67*53*27*8, 83*67*53*9*32), 67*53*9*8)
3636
XCTAssertEqual(gcd(Int.min, 2), 2)
3737

38-
XCTExpectFailure{ gcd(0, Int.min) }
39-
XCTExpectFailure{ gcd(Int.min, 0) }
40-
XCTExpectFailure{ gcd(Int.min, Int.min) }
38+
// TODO: Enable these when version compability allows.
39+
//
40+
// XCTExpectFailure{ gcd(0, Int.min) }
41+
// XCTExpectFailure{ gcd(Int.min, 0) }
42+
// XCTExpectFailure{ gcd(Int.min, Int.min) }
4143
}
4244
}

0 commit comments

Comments
 (0)