MCPcopy
hub / github.com/elastic/go-elasticsearch / TestVersion

Function TestVersion

elasticsearch_internal_test.go:404–408  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

402}
403
404func TestVersion(t *testing.T) {
405 if Version == "" {
406 t.Error("Version is empty")
407 }
408}
409
410func TestClientMetrics(t *testing.T) {
411 c, err := New(WithTransportOptions(elastictransport.WithMetrics()))

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected