Skip to content

Commit

Permalink
WIP NSLog not available
Browse files Browse the repository at this point in the history
  • Loading branch information
amnonbc committed Sep 17, 2024
1 parent 7222af4 commit 5c34712
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Test/Tests/RealtimeClientConnectionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2159,7 +2159,9 @@ class RealtimeClientConnectionTests: XCTestCase {
client.connection.on { stateChange in
let state = stateChange.current
let errorInfo = stateChange.reason
NSLog("got state change state %s, reason %s\n", stateChange.current, stateChange.reason)
print("got state change state:")
print(stateChange.current)
print(stateChange.reason)

Check failure on line 2164 in Test/Tests/RealtimeClientConnectionTests.swift

View workflow job for this annotation

GitHub Actions / check (iOS, test_iOS17_2)

expression implicitly coerced from 'ARTErrorInfo?' to 'Any'

Check failure on line 2164 in Test/Tests/RealtimeClientConnectionTests.swift

View workflow job for this annotation

GitHub Actions / check (tvOS, test_tvOS17_2)

expression implicitly coerced from 'ARTErrorInfo?' to 'Any'

Check failure on line 2164 in Test/Tests/RealtimeClientConnectionTests.swift

View workflow job for this annotation

GitHub Actions / check (macOS, test_macOS)

expression implicitly coerced from 'ARTErrorInfo?' to 'Any'
switch state {
case .connected:
fail("Should not be connected")
Expand Down

0 comments on commit 5c34712

Please sign in to comment.