We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f80ed7 commit b4d9bb1Copy full SHA for b4d9bb1
Tests/HAPTests/CharacteristicTests.swift
@@ -13,7 +13,7 @@ class CharacteristicTests: XCTestCase {
13
14
func testReadOptionalValueType() {
15
let characteristic = GenericCharacteristic<Bool?>(type: .identify, value: false)
16
- guard let value = characteristic.getValue() as? Bool? else {
+ guard let value = characteristic.getValue(fromChannel: nil) as? Bool? else {
17
XCTFail("Could not get value")
18
return
19
}
@@ -36,7 +36,7 @@ class CharacteristicTests: XCTestCase {
36
} catch {
37
XCTFail("Could not set value: \(error)")
38
39
40
41
42
0 commit comments