MCPcopy Create free account
hub / github.com/expr-lang/expr / TestValue_three_ptr_with_interface

Function TestValue_three_ptr_with_interface

internal/deref/deref_test.go:88–95  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

86}
87
88func TestValue_three_ptr_with_interface(t *testing.T) {
89 a := uint(42)
90 var b any = &a
91 c := &b
92
93 got := deref.Value(reflect.ValueOf(c))
94 assert.Equal(t, uint(42), got.Interface())
95}
96
97func TestValue_nil(t *testing.T) {
98 got := deref.Value(reflect.ValueOf(nil))

Callers

nothing calls this directly

Calls 2

ValueFunction · 0.92
EqualFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…