Skip to content

Commit 6bcbb3b

Browse files
committed
Update release notes
1 parent 75ec50a commit 6bcbb3b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

RELEASE_NOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ This version makes the SDK use Swift 6.1.
77

88
Due to actor isolation issues that can come from inheriting `Mock`, prefer to implement `Mockable` instead.
99

10+
### 💡 Behavior changes
11+
12+
* `Mock` implements `Sendable`.
13+
* `Mockable` implements `Sendable`.
14+
1015

1116

1217
## 1.5

Tests/MockingKitTests/Foundation/MockUserDefaultsTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ final class MockUserDefaultsTests: XCTestCase {
3030
}
3131

3232
func testCanMockGettingData() {
33-
let data = "123".data(using: .utf8)
33+
let data = Data("123".utf8)
3434
defaults.registerResult(for: defaults.dataRef) { _ in data }
3535
XCTAssertEqual(defaults.data(forKey: "abc"), data)
3636
}

0 commit comments

Comments
 (0)