Skip to content

Commit 24cc616

Browse files
committed
Remove one more _debugPrecondition
1 parent d09c2ff commit 24cc616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Frontend/OptimizationOptions-with-stdlib-checks.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func testprecondition_check(x: Int, y: Int) -> Int {
2424
}
2525

2626
func test_partial_safety_check(x: Int, y: Int) -> Int {
27-
_debugPrecondition(x > y, "Test partial safety check")
27+
assert(x > y, "Test partial safety check")
2828
return x + y
2929
}
3030

0 commit comments

Comments
 (0)