mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-06 13:15:14 -06:00
docs: normalize & make basic corrections to documentation
This commit is contained in:
@@ -133,11 +133,11 @@ func TestAppWithNilFields(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestAppWithWebsocketConnection(t *testing.T) {
|
||||
// Test app with websocket connection (mocked)
|
||||
// Test app with WebSocket connection (mocked)
|
||||
app := &App{
|
||||
ctx: context.Background(),
|
||||
ctxCancel: func() {},
|
||||
conn: nil, // In real test, this would be a mock websocket
|
||||
conn: nil, // In real test, this would be a mock WebSocket
|
||||
}
|
||||
|
||||
// Test that Close() handles nil connection gracefully
|
||||
|
||||
Reference in New Issue
Block a user