Skip to content

Fix cac44b2a33 to disable the correct test. #7784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/stdlib/TestData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -991,9 +991,7 @@ DataTests.test("test_doubleDeallocation") { TestData().test_doubleDeallocation()
DataTests.test("test_repeatingValueInitialization") { TestData().test_repeatingValueInitialization() }

// XCTest does not have a crash detection, whereas lit does
DataTests.test("bounding failure subdata")
.skip(.always("fails with resilient stdlib (rdar://problem/30560514)"))
.code {
DataTests.test("bounding failure subdata") {
let data = "Hello World".data(using: .utf8)!
expectCrashLater()
let c = data.subdata(in: 5..<200)
Expand Down Expand Up @@ -1051,7 +1049,9 @@ DataTests.test("bounding failure append absurd length") {
data.append("hello", count: Int.min)
}

DataTests.test("bounding failure subscript") {
DataTests.test("bounding failure subscript")
.skip(.always("fails with resilient stdlib (rdar://problem/30560514)"))
.code {
var data = "Hello World".data(using: .utf8)!
expectCrashLater()
data[100] = 4
Expand Down