diff --git a/parser/parser_test.go b/parser/parser_test.go index 188fec0..02c852b 100644 --- a/parser/parser_test.go +++ b/parser/parser_test.go @@ -38,7 +38,7 @@ func (f *sampleFormatter) Marshal(node *StructNode) ([]byte, error) { return json.Marshal(node) } -func ExampleJSONMarshal() { +func ExamplesampleFormatter() { const src = ` package p