1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00

Fix up Go test for new structure of Import

This commit is contained in:
Timothy Clem 2018-01-15 20:10:48 -07:00
parent 41c28c4de0
commit 9b3cc349d3
12 changed files with 118 additions and 82 deletions

View File

@ -1,16 +1,22 @@
(Program
(Module
(Identifier))
(Import
(
(
(Import
{ (TextElement)
->(TextElement) }
(Empty)
(Empty))
(Import
{ (TextElement)
->(TextElement) }
(
(Identifier)
{ (TextElement)
->(TextElement) })))
(Empty)
(Empty))
(Import
{ (TextElement)
->(TextElement) }
(Identifier)
(Empty)))
(Function
(Empty)
(Identifier)

View File

@ -1,16 +1,22 @@
(Program
(Module
(Identifier))
(Import
(
(
(Import
{ (TextElement)
->(TextElement) }
(Empty)
(Empty))
(Import
{ (TextElement)
->(TextElement) }
(
(Identifier)
{ (TextElement)
->(TextElement) })))
(Empty)
(Empty))
(Import
{ (TextElement)
->(TextElement) }
(Identifier)
(Empty)))
(Function
(Empty)
(Identifier)

View File

@ -1,13 +1,19 @@
(Program
(Module
(Identifier))
(Import
(
(
(Import
(TextElement)
(Empty)
(Empty))
(Import
(TextElement)
(
(Identifier)
(TextElement))))
(Empty)
(Empty))
(Import
(TextElement)
(Identifier)
(Empty)))
(Function
(Empty)
(Identifier)

View File

@ -1,13 +1,19 @@
(Program
(Module
(Identifier))
(Import
(
(
(Import
(TextElement)
(Empty)
(Empty))
(Import
(TextElement)
(
(Identifier)
(TextElement))))
(Empty)
(Empty))
(Import
(TextElement)
(Identifier)
(Empty)))
(Function
(Empty)
(Identifier)

View File

@ -1,16 +1,15 @@
(Program
(Module
(Identifier))
(Import
(
(Context
(Comment)
(Comment)
{ (TextElement)
->(TextElement) })
(Context
(Comment)
(Empty))))
(
(Comment)
(Comment)
(Import
{ (TextElement)
->(TextElement) }
(Empty)
(Empty))
(Comment))
(Function
(Empty)
(Identifier)

View File

@ -1,16 +1,15 @@
(Program
(Module
(Identifier))
(Import
(
(Context
(Comment)
(Comment)
{ (TextElement)
->(TextElement) })
(Context
(Comment)
(Empty))))
(
(Comment)
(Comment)
(Import
{ (TextElement)
->(TextElement) }
(Empty)
(Empty))
(Comment))
(Function
(Empty)
(Identifier)

View File

@ -1,15 +1,14 @@
(Program
(Module
(Identifier))
(Import
(
(Context
(Comment)
(Comment)
(TextElement))
(Context
(Comment)
(Empty))))
(
(Comment)
(Comment)
(Import
(TextElement)
(Empty)
(Empty))
(Comment))
(Function
(Empty)
(Identifier)

View File

@ -1,15 +1,14 @@
(Program
(Module
(Identifier))
(Import
(
(Context
(Comment)
(Comment)
(TextElement))
(Context
(Comment)
(Empty))))
(
(Comment)
(Comment)
(Import
(TextElement)
(Empty)
(Empty))
(Comment))
(Function
(Empty)
(Identifier)

View File

@ -3,15 +3,19 @@
(Identifier))
(Import
{ (TextElement)
->(TextElement) })
->(TextElement) }
(Empty)
(Empty))
(Import
{ (TextElement)
->(TextElement) })
->(TextElement) }
(Empty)
(Empty))
(Import
(
(Identifier)
{ (TextElement)
->(TextElement) }))
{ (TextElement)
->(TextElement) }
(Identifier)
(Empty))
(Function
(Empty)
(Identifier)

View File

@ -3,15 +3,19 @@
(Identifier))
(Import
{ (TextElement)
->(TextElement) })
->(TextElement) }
(Empty)
(Empty))
(Import
{ (TextElement)
->(TextElement) })
->(TextElement) }
(Empty)
(Empty))
(Import
(
(Identifier)
{ (TextElement)
->(TextElement) }))
{ (TextElement)
->(TextElement) }
(Identifier)
(Empty))
(Function
(Empty)
(Identifier)

View File

@ -2,13 +2,17 @@
(Module
(Identifier))
(Import
(TextElement))
(TextElement)
(Empty)
(Empty))
(Import
(TextElement))
(TextElement)
(Empty)
(Empty))
(Import
(
(Identifier)
(TextElement)))
(TextElement)
(Identifier)
(Empty))
(Function
(Empty)
(Identifier)

View File

@ -2,13 +2,17 @@
(Module
(Identifier))
(Import
(TextElement))
(TextElement)
(Empty)
(Empty))
(Import
(TextElement))
(TextElement)
(Empty)
(Empty))
(Import
(
(Identifier)
(TextElement)))
(TextElement)
(Identifier)
(Empty))
(Function
(Empty)
(Identifier)