From 4289eef106dfac6804cd63dd887adb0231123f6c Mon Sep 17 00:00:00 2001 From: Rick Winfrey Date: Thu, 2 Nov 2017 11:28:19 -0700 Subject: [PATCH] Update struct field declarations tests --- .../go/struct-field-declarations.diffA-B.txt | 12 ++++++------ .../go/struct-field-declarations.diffB-A.txt | 12 ++++++------ .../fixtures/go/struct-field-declarations.parseA.txt | 3 +-- .../fixtures/go/struct-field-declarations.parseB.txt | 6 +++++- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/test/fixtures/go/struct-field-declarations.diffA-B.txt b/test/fixtures/go/struct-field-declarations.diffA-B.txt index 81af7c572..e4a11f6a5 100644 --- a/test/fixtures/go/struct-field-declarations.diffA-B.txt +++ b/test/fixtures/go/struct-field-declarations.diffA-B.txt @@ -9,9 +9,9 @@ (Identifier) (Constructor (Empty) - {+(Error)+} - {-(Annotation - {-(Annotation - {-([])-} - {-(Identifier)-})-} - {-(Identifier)-})-}))))) + (Annotation + ( + { (Identifier) + ->(Identifier) } + {+(Identifier)+}) + (Identifier))))))) diff --git a/test/fixtures/go/struct-field-declarations.diffB-A.txt b/test/fixtures/go/struct-field-declarations.diffB-A.txt index 10d6b7740..87a6d7748 100644 --- a/test/fixtures/go/struct-field-declarations.diffB-A.txt +++ b/test/fixtures/go/struct-field-declarations.diffB-A.txt @@ -9,9 +9,9 @@ (Identifier) (Constructor (Empty) - {+(Annotation - {+(Annotation - {+([])+} - {+(Identifier)+})+} - {+(Identifier)+})+} - {-(Error)-}))))) + (Annotation + ( + { (Identifier) + ->(Identifier) } + {-(Identifier)-}) + (Identifier))))))) diff --git a/test/fixtures/go/struct-field-declarations.parseA.txt b/test/fixtures/go/struct-field-declarations.parseA.txt index cea38fdfc..4116ed52f 100644 --- a/test/fixtures/go/struct-field-declarations.parseA.txt +++ b/test/fixtures/go/struct-field-declarations.parseA.txt @@ -10,7 +10,6 @@ (Constructor (Empty) (Annotation - (Annotation - ([]) + ( (Identifier)) (Identifier))))))) diff --git a/test/fixtures/go/struct-field-declarations.parseB.txt b/test/fixtures/go/struct-field-declarations.parseB.txt index ac08c051e..1bc7f6e74 100644 --- a/test/fixtures/go/struct-field-declarations.parseB.txt +++ b/test/fixtures/go/struct-field-declarations.parseB.txt @@ -9,4 +9,8 @@ (Identifier) (Constructor (Empty) - (Error)))))) + (Annotation + ( + (Identifier) + (Identifier)) + (Identifier)))))))