Skip to content

Commit

Permalink
fix mr
Browse files Browse the repository at this point in the history
  • Loading branch information
dankinsoid committed Aug 29, 2023
1 parent 579340d commit 8675584
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/AnyCodableTests/AnyCodableTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,11 @@ class AnyCodableTests: XCTestCase {

func test_RefInit() {
var value = 0
let ref = Ref {
let ref = Ref(get: {
value
} set: {
}, set: {
value = $0
}
})
XCTAssertEqual(ref.wrappedValue, 0)
ref.wrappedValue = 1
XCTAssertEqual(ref.wrappedValue, 1)
Expand Down

0 comments on commit 8675584

Please sign in to comment.