Debian Codegraph @

internal/ptr/to_test.go

raw symbols SCIP
1 package ptr_test
2
3 import (
4 "github.com/tomwright/dasel/v3/internal/ptr"
5 "testing"
6 )
7
8 func TestTo(t *testing.T) {
9 a := 1
10 if exp, got := a, *(ptr.To(a)); exp != a {
11 t.Errorf("expected %d, got %d", exp, got)
12 }
13 }