Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
404
func
TestVersion(t *testing.T) {
405
if
Version ==
""
{
406
t.Error(
"Version is empty"
)
407
}
408
}
409
410
func
TestClientMetrics(t *testing.T) {
411
c, err := New(WithTransportOptions(elastictransport.WithMetrics()))
Callers
nothing calls this directly
Calls
1
Error
Method · 0.45
Tested by
no test coverage detected