MCPcopy Create free account
hub / github.com/facebook/time / TestDefaultUserAgent

Function TestDefaultUserAgent

ntrip/client_test.go:362–369  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

360}
361
362func TestDefaultUserAgent(t *testing.T) {
363 c := NewClient(Config{
364 Caster: "localhost:2101",
365 Mountpoint: "/M",
366 Password: "p",
367 })
368 require.Equal(t, "NTRIP ntripper/1.0", c.config.UserAgent)
369}

Callers

nothing calls this directly

Calls 1

NewClientFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…