Skip to content

Commit

Permalink
Kitura/Kitura#33 Added implementation of CustomStringConvertible to T…
Browse files Browse the repository at this point in the history
…estWebSocketService
  • Loading branch information
shmuelk committed Dec 21, 2016
1 parent 60a811e commit 8175b5a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Tests/KituraWebSocketTests/TestWebSocketService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,10 @@ class TestWebSocketService: WebSocketService {
}
}
}

extension TestWebSocketService: CustomStringConvertible {
/// Generate a printable version of this enum.
public var description: String {
return "TestWebSocketService(closeReason: \(closeReason))"
}
}

0 comments on commit 8175b5a

Please sign in to comment.