From 36e4bbecd9bcf8c0920df83d6d8172da777fd1d6 Mon Sep 17 00:00:00 2001 From: Timothy Clem Date: Mon, 16 Apr 2018 16:52:54 -0700 Subject: [PATCH] Python fixture fixes --- .../async-function-definition.diffA-B.txt | 58 ++++++++----------- .../async-function-definition.diffB-A.txt | 58 ++++++++----------- .../async-function-definition.parseA.txt | 36 +++++------- .../async-function-definition.parseB.txt | 36 +++++------- 4 files changed, 80 insertions(+), 108 deletions(-) diff --git a/test/fixtures/python/async-function-definition.diffA-B.txt b/test/fixtures/python/async-function-definition.diffA-B.txt index 6920a1b95..38aaf812b 100644 --- a/test/fixtures/python/async-function-definition.diffA-B.txt +++ b/test/fixtures/python/async-function-definition.diffA-B.txt @@ -1,38 +1,30 @@ (Program {+(Annotation - {+(Annotation - {+(Function - {+(Identifier)+} - {+(Identifier)+} - {+(Identifier)+} - {+(Identifier)+})+} - {+(Empty)+})+} - {+(Identifier)+})+} + {+(Function + {+(Identifier)+} + {+(Identifier)+} + {+(Identifier)+} + {+(Identifier)+})+} + {+(Empty)+})+} (Annotation - (Annotation - (Function - (Identifier) - { (Identifier) - ->(Identifier) }) - (Empty)) - (Identifier)) + (Function + (Identifier) + { (Identifier) + ->(Identifier) }) + (Empty)) (Annotation - (Annotation - (Function - { (Identifier) - ->(Identifier) } - { (Identifier) - ->(Identifier) } - {-(Identifier)-} - { (Identifier) - ->(Identifier) }) - (Empty)) - (Identifier)) + (Function + { (Identifier) + ->(Identifier) } + { (Identifier) + ->(Identifier) } + {-(Identifier)-} + { (Identifier) + ->(Identifier) }) + (Empty)) {-(Annotation - {-(Annotation - {-(Function - {-(Identifier)-} - {-(Identifier)-} - {-(Identifier)-})-} - {-(Empty)-})-} - {-(Identifier)-})-}) + {-(Function + {-(Identifier)-} + {-(Identifier)-} + {-(Identifier)-})-} + {-(Empty)-})-}) diff --git a/test/fixtures/python/async-function-definition.diffB-A.txt b/test/fixtures/python/async-function-definition.diffB-A.txt index 0c47b1a39..b2c67dbd4 100644 --- a/test/fixtures/python/async-function-definition.diffB-A.txt +++ b/test/fixtures/python/async-function-definition.diffB-A.txt @@ -1,38 +1,30 @@ (Program {-(Annotation - {-(Annotation - {-(Function - {-(Identifier)-} - {-(Identifier)-} - {-(Identifier)-} - {-(Identifier)-})-} - {-(Empty)-})-} - {-(Identifier)-})-} + {-(Function + {-(Identifier)-} + {-(Identifier)-} + {-(Identifier)-} + {-(Identifier)-})-} + {-(Empty)-})-} (Annotation - (Annotation - (Function - (Identifier) - { (Identifier) - ->(Identifier) }) - (Empty)) - (Identifier)) + (Function + (Identifier) + { (Identifier) + ->(Identifier) }) + (Empty)) (Annotation - (Annotation - (Function - { (Identifier) - ->(Identifier) } - { (Identifier) - ->(Identifier) } - {+(Identifier)+} - { (Identifier) - ->(Identifier) }) - (Empty)) - (Identifier)) + (Function + { (Identifier) + ->(Identifier) } + { (Identifier) + ->(Identifier) } + {+(Identifier)+} + { (Identifier) + ->(Identifier) }) + (Empty)) {+(Annotation - {+(Annotation - {+(Function - {+(Identifier)+} - {+(Identifier)+} - {+(Identifier)+})+} - {+(Empty)+})+} - {+(Identifier)+})+}) + {+(Function + {+(Identifier)+} + {+(Identifier)+} + {+(Identifier)+})+} + {+(Empty)+})+}) diff --git a/test/fixtures/python/async-function-definition.parseA.txt b/test/fixtures/python/async-function-definition.parseA.txt index 9b61b59ac..5e5cbe380 100644 --- a/test/fixtures/python/async-function-definition.parseA.txt +++ b/test/fixtures/python/async-function-definition.parseA.txt @@ -1,25 +1,19 @@ (Program (Annotation - (Annotation - (Function - (Identifier) - (Identifier)) - (Empty)) - (Identifier)) + (Function + (Identifier) + (Identifier)) + (Empty)) (Annotation - (Annotation - (Function - (Identifier) - (Identifier) - (Identifier) - (Identifier)) - (Empty)) - (Identifier)) + (Function + (Identifier) + (Identifier) + (Identifier) + (Identifier)) + (Empty)) (Annotation - (Annotation - (Function - (Identifier) - (Identifier) - (Identifier)) - (Empty)) - (Identifier))) + (Function + (Identifier) + (Identifier) + (Identifier)) + (Empty))) diff --git a/test/fixtures/python/async-function-definition.parseB.txt b/test/fixtures/python/async-function-definition.parseB.txt index 682a81360..359dbd827 100644 --- a/test/fixtures/python/async-function-definition.parseB.txt +++ b/test/fixtures/python/async-function-definition.parseB.txt @@ -1,25 +1,19 @@ (Program (Annotation - (Annotation - (Function - (Identifier) - (Identifier) - (Identifier) - (Identifier)) - (Empty)) - (Identifier)) + (Function + (Identifier) + (Identifier) + (Identifier) + (Identifier)) + (Empty)) (Annotation - (Annotation - (Function - (Identifier) - (Identifier)) - (Empty)) - (Identifier)) + (Function + (Identifier) + (Identifier)) + (Empty)) (Annotation - (Annotation - (Function - (Identifier) - (Identifier) - (Identifier)) - (Empty)) - (Identifier))) + (Function + (Identifier) + (Identifier) + (Identifier)) + (Empty)))