mirror of
https://github.com/github/semantic.git
synced 2024-12-29 01:42:43 +03:00
Update function literal tests
This commit is contained in:
parent
5312425c47
commit
f4b8e302ca
17
test/fixtures/go/function-literals.diffA-B.txt
vendored
17
test/fixtures/go/function-literals.diffA-B.txt
vendored
@ -6,4 +6,19 @@
|
||||
(Identifier)
|
||||
(Assignment
|
||||
(Identifier)
|
||||
(Error))))
|
||||
(Function
|
||||
(
|
||||
{ (Identifier)
|
||||
->(Identifier) }
|
||||
{ (Identifier)
|
||||
->(Identifier) })
|
||||
(Empty)
|
||||
(
|
||||
{ (Identifier)
|
||||
->(Identifier) }
|
||||
{ (Identifier)
|
||||
->(Identifier) })
|
||||
(Return
|
||||
(
|
||||
(Integer)
|
||||
(Integer)))))))
|
||||
|
17
test/fixtures/go/function-literals.diffB-A.txt
vendored
17
test/fixtures/go/function-literals.diffB-A.txt
vendored
@ -6,4 +6,19 @@
|
||||
(Identifier)
|
||||
(Assignment
|
||||
(Identifier)
|
||||
(Error))))
|
||||
(Function
|
||||
(
|
||||
{ (Identifier)
|
||||
->(Identifier) }
|
||||
{ (Identifier)
|
||||
->(Identifier) })
|
||||
(Empty)
|
||||
(
|
||||
{ (Identifier)
|
||||
->(Identifier) }
|
||||
{ (Identifier)
|
||||
->(Identifier) })
|
||||
(Return
|
||||
(
|
||||
(Integer)
|
||||
(Integer)))))))
|
||||
|
13
test/fixtures/go/function-literals.parseA.txt
vendored
13
test/fixtures/go/function-literals.parseA.txt
vendored
@ -6,4 +6,15 @@
|
||||
(Identifier)
|
||||
(Assignment
|
||||
(Identifier)
|
||||
(Error))))
|
||||
(Function
|
||||
(
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Empty)
|
||||
(
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Return
|
||||
(
|
||||
(Integer)
|
||||
(Integer)))))))
|
||||
|
13
test/fixtures/go/function-literals.parseB.txt
vendored
13
test/fixtures/go/function-literals.parseB.txt
vendored
@ -6,4 +6,15 @@
|
||||
(Identifier)
|
||||
(Assignment
|
||||
(Identifier)
|
||||
(Error))))
|
||||
(Function
|
||||
(
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Empty)
|
||||
(
|
||||
(Identifier)
|
||||
(Identifier))
|
||||
(Return
|
||||
(
|
||||
(Integer)
|
||||
(Integer)))))))
|
||||
|
Loading…
Reference in New Issue
Block a user