diff options
Diffstat (limited to 'pkg/ast/parser_test.go')
| -rw-r--r-- | pkg/ast/parser_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ast/parser_test.go b/pkg/ast/parser_test.go index c7018b243..f1458e3e7 100644 --- a/pkg/ast/parser_test.go +++ b/pkg/ast/parser_test.go @@ -48,7 +48,7 @@ func TestParseAll(t *testing.T) { t.Fatalf("formatting changed code:\n%#v\nvs:\n%#v", n1, n2) } } - data3 := Format(Clone(desc)) + data3 := Format(desc.Clone()) if !bytes.Equal(data, data3) { t.Fatalf("Clone lost data") } |
