lint:file-ignore SA1019 Ignore deprecation warnings for EncodedConn
(t *testing.T)
| 30 | //lint:file-ignore SA1019 Ignore deprecation warnings for EncodedConn |
| 31 | |
| 32 | func NewDefaultEConn(t *testing.T) *nats.EncodedConn { |
| 33 | ec, err := nats.NewEncodedConn(NewConnection(t, TEST_PORT), nats.DEFAULT_ENCODER) |
| 34 | if err != nil { |
| 35 | t.Fatalf("Failed to create an encoded connection: %v\n", err) |
| 36 | } |
| 37 | return ec |
| 38 | } |
| 39 | |
| 40 | func TestEncBuiltinConstructorErrs(t *testing.T) { |
| 41 | s := RunServerOnPort(TEST_PORT) |
no test coverage detected