github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/pkg/scanners/azure/arm/parser/armjson/parse_null_test.go (about) 1 package armjson 2 3 import ( 4 "testing" 5 6 "github.com/khulnasoft-lab/defsec/pkg/types" 7 8 "github.com/stretchr/testify/require" 9 ) 10 11 func Test_Null(t *testing.T) { 12 example := []byte(`null`) 13 var output string 14 ref := &output 15 metadata := types.NewTestMetadata() 16 err := Unmarshal(example, &ref, &metadata) 17 require.NoError(t, err) 18 }