Skip to content
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 TestFoundation/TestNSData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4180,12 +4180,12 @@ extension TestNSData {
// Mutate the second data
bytes.pointee = 0
XCTAssertEqual(bytes.pointee, 0, "First byte should be 0")
XCTAssertEqual(allOnesCopyToMutate[0], 0, "First byte accessed via other method should still be 0")

// Verify that the first data is still 1
XCTAssertEqual(allOnesData[0], 1, "The first byte should still be 1")
}

XCTAssertEqual(allOnesCopyToMutate[0], 0, "First byte accessed via other method should still be 0")

// Verify that the first data is still 1
XCTAssertEqual(allOnesData[0], 1, "The first byte should still be 1")
}

func testBridgingCustom() {
Expand Down