We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90d58fe commit 7f63b42Copy full SHA for 7f63b42
validation-test/stdlib/ArrayTraps.swift.gyb
@@ -172,8 +172,8 @@ ${ArrayTy}Traps.test("${'remove(at:)/%s' % index}")
172
173
ArrayTraps.test("unsafeLength")
174
.skip(.custom(
175
- { _isFastAssertConfiguration() },
176
- reason: "this trap is not guaranteed to happen in -Ounchecked"))
+ { !_isDebugAssertConfiguration() },
+ reason: "this trap is not guaranteed to happen in -O or -Ounchecked"))
177
.crashOutputMatches(_isDebugAssertConfiguration() ?
178
"UnsafeBufferPointer with negative count" : "")
179
.code {
0 commit comments