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

Function TestValue_two_ptr_with_interface

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

Source from the content-addressed store, hash-verified

78}
79
80func TestValue_two_ptr_with_interface(t *testing.T) {
81 a := uint(42)
82 var b any = &a
83
84 got := deref.Value(reflect.ValueOf(b))
85 assert.Equal(t, uint(42), got.Interface())
86}
87
88func TestValue_three_ptr_with_interface(t *testing.T) {
89 a := uint(42)

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…