Skip to content

Commit

Permalink
require: client_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Dec 16, 2024
1 parent 4063757 commit 3a0460c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ import (

func TestClient_Send_DoesNotPanicWhenDisconnected(t *testing.T) {
c, err := NewClient("opc.tcp://example.com:4840")
if err != nil {
t.Fatal(err)
}
require.NoError(t, err, "NewClient failed")

err = c.Send(context.Background(), &ua.ReadRequest{}, func(i ua.Response) error {
return nil
})
Expand Down

0 comments on commit 3a0460c

Please sign in to comment.