MCPcopy
hub / github.com/grafana/tempo / TestNewStaticNil

Function TestNewStaticNil

pkg/traceql/ast_test.go:45–49  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

43}
44
45func TestNewStaticNil(t *testing.T) {
46 s := NewStaticNil()
47 assert.Equal(t, TypeNil, s.Type)
48 assert.Equal(t, Static{}, s)
49}
50
51func TestStatic_Int(t *testing.T) {
52 tests := []struct {

Callers

nothing calls this directly

Calls 2

NewStaticNilFunction · 0.85
EqualMethod · 0.45

Tested by

no test coverage detected