github.com/tomwright/dasel@v1.27.3/node_internal_test.go (about) 1 package dasel 2 3 import ( 4 "reflect" 5 "testing" 6 ) 7 8 func TestSafeIsNil(t *testing.T) { 9 t.Run("String", func(t *testing.T) { 10 if exp, got := false, safeIsNil(reflect.ValueOf("")); exp != got { 11 t.Errorf("expected %v, got %v", exp, got) 12 } 13 }) 14 }