mirror of
https://github.com/github/semantic.git
synced 2024-12-25 16:02:43 +03:00
Sort out all the tests
This commit is contained in:
parent
cc11cb9e44
commit
8e547c4536
4
test/fixtures/ruby/corpus/alias.parseA.txt
vendored
4
test/fixtures/ruby/corpus/alias.parseA.txt
vendored
@ -1,8 +1,8 @@
|
|||||||
(Statements
|
(Statements
|
||||||
(Call
|
(Call
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Empty))
|
(Empty))
|
||||||
(Call
|
(Call
|
||||||
(Identifier)
|
(Identifier)
|
||||||
|
4
test/fixtures/ruby/corpus/calls.parseA.txt
vendored
4
test/fixtures/ruby/corpus/calls.parseA.txt
vendored
@ -6,10 +6,10 @@
|
|||||||
(Send
|
(Send
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Integer))
|
(Integer))
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Boolean)))
|
(Boolean)))
|
||||||
(Send
|
(Send
|
||||||
(Send
|
(Send
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
{+(TextElement)+}
|
{+(TextElement)+}
|
||||||
{+(TextElement)+}
|
{+(TextElement)+}
|
||||||
{+(TextElement)+}
|
{+(TextElement)+}
|
||||||
|
{ (TextElement)
|
||||||
|
->(TextElement) }
|
||||||
{+(TextElement)+}
|
{+(TextElement)+}
|
||||||
{+(TextElement)+}
|
{+(TextElement)+}
|
||||||
{+(TextElement)+}
|
|
||||||
{-(TextElement)-}
|
|
||||||
{-(TextElement)-}
|
{-(TextElement)-}
|
||||||
{-(TextElement)-}
|
{-(TextElement)-}
|
||||||
{-(TextElement)-}
|
{-(TextElement)-}
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
{+(TextElement)+}
|
{+(TextElement)+}
|
||||||
{+(TextElement)+}
|
{+(TextElement)+}
|
||||||
{+(TextElement)+}
|
{+(TextElement)+}
|
||||||
{+(TextElement)+}
|
{ (TextElement)
|
||||||
{-(TextElement)-}
|
->(TextElement) }
|
||||||
{-(TextElement)-}
|
{-(TextElement)-}
|
||||||
{-(TextElement)-}
|
{-(TextElement)-}
|
||||||
{-(TextElement)-}
|
{-(TextElement)-}
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
(Send
|
(Send
|
||||||
{ (Identifier)
|
{ (Identifier)
|
||||||
->(Identifier) })
|
->(Identifier) })
|
||||||
{ (Symbol)
|
{ (SymbolElement)
|
||||||
->(Symbol) })
|
->(SymbolElement) })
|
||||||
{-(Assignment
|
{-(Assignment
|
||||||
{-(Subscript
|
{-(Subscript
|
||||||
{-(Send
|
{-(Send
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
(Send
|
(Send
|
||||||
{ (Identifier)
|
{ (Identifier)
|
||||||
->(Identifier) })
|
->(Identifier) })
|
||||||
{ (Symbol)
|
{ (SymbolElement)
|
||||||
->(Symbol) })
|
->(SymbolElement) })
|
||||||
{+(Assignment
|
{+(Assignment
|
||||||
{+(Subscript
|
{+(Subscript
|
||||||
{+(Send
|
{+(Send
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
(Subscript
|
(Subscript
|
||||||
(Send
|
(Send
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Symbol))
|
(SymbolElement))
|
||||||
(Assignment
|
(Assignment
|
||||||
(Subscript
|
(Subscript
|
||||||
(Send
|
(Send
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
(Subscript
|
(Subscript
|
||||||
(Send
|
(Send
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(Symbol)))
|
(SymbolElement)))
|
||||||
|
37
test/fixtures/ruby/corpus/for.diffB-A.txt
vendored
37
test/fixtures/ruby/corpus/for.diffB-A.txt
vendored
@ -7,33 +7,34 @@
|
|||||||
{+(Identifier)+})+}
|
{+(Identifier)+})+}
|
||||||
{+(Send
|
{+(Send
|
||||||
{+(Identifier)+})+})+}
|
{+(Identifier)+})+})+}
|
||||||
|
{+(ForEach
|
||||||
|
{+(Statements
|
||||||
|
{+(Send
|
||||||
|
{+(Identifier)+})+}
|
||||||
|
{+(Send
|
||||||
|
{+(Identifier)+})+})+}
|
||||||
|
{+(Send
|
||||||
|
{+(Identifier)+})+}
|
||||||
|
{+(Send
|
||||||
|
{+(Identifier)+})+})+}
|
||||||
(ForEach
|
(ForEach
|
||||||
(Statements
|
(Statements
|
||||||
(Send
|
(Send
|
||||||
{ (Identifier)
|
{ (Identifier)
|
||||||
->(Identifier) })
|
->(Identifier) }))
|
||||||
{+(Send
|
|
||||||
{+(Identifier)+})+})
|
|
||||||
{ (Array
|
{ (Array
|
||||||
{-(Integer)-}
|
{-(Integer)-}
|
||||||
{-(Integer)-}
|
{-(Integer)-}
|
||||||
{-(Integer)-})
|
{-(Integer)-})
|
||||||
->(Send
|
->(Enumeration
|
||||||
{+(Identifier)+}) }
|
{+(Integer)+}
|
||||||
(Send
|
{+(Integer)+}
|
||||||
{ (Identifier)
|
{+(Empty)+}) }
|
||||||
->(Identifier) }
|
{ (Send
|
||||||
|
{-(Identifier)-}
|
||||||
{-(Send
|
{-(Send
|
||||||
{-(Identifier)-})-}))
|
{-(Identifier)-})-})
|
||||||
{+(ForEach
|
->(Boolean) })
|
||||||
{+(Statements
|
|
||||||
{+(Send
|
|
||||||
{+(Identifier)+})+})+}
|
|
||||||
{+(Enumeration
|
|
||||||
{+(Integer)+}
|
|
||||||
{+(Integer)+}
|
|
||||||
{+(Empty)+})+}
|
|
||||||
{+(Boolean)+})+}
|
|
||||||
{+(ForEach
|
{+(ForEach
|
||||||
{+(Statements
|
{+(Statements
|
||||||
{+(Send
|
{+(Send
|
||||||
|
30
test/fixtures/ruby/corpus/hash.diffA-B.txt
vendored
30
test/fixtures/ruby/corpus/hash.diffA-B.txt
vendored
@ -1,29 +1,31 @@
|
|||||||
(Statements
|
(Statements
|
||||||
(Hash
|
(Hash
|
||||||
(KeyValue
|
(KeyValue
|
||||||
{ (Symbol)
|
{ (SymbolElement)
|
||||||
->(Symbol) }
|
->(SymbolElement) }
|
||||||
{ (TextElement)
|
{ (TextElement)
|
||||||
->(TextElement) })
|
->(TextElement) })
|
||||||
(KeyValue
|
{+(KeyValue
|
||||||
{ (Symbol)
|
{+(SymbolElement)+}
|
||||||
->(Symbol) }
|
{+(Integer)+})+}
|
||||||
{ (Integer)
|
{+(KeyValue
|
||||||
->(Integer) })
|
{+(SymbolElement)+}
|
||||||
(KeyValue
|
{+(Boolean)+})+}
|
||||||
{ (TextElement)
|
|
||||||
->(Symbol) }
|
|
||||||
{ (Boolean)
|
|
||||||
->(Boolean) })
|
|
||||||
{-(KeyValue
|
{-(KeyValue
|
||||||
{-(Symbol)-}
|
{-(SymbolElement)-}
|
||||||
|
{-(Integer)-})-}
|
||||||
|
{-(KeyValue
|
||||||
|
{-(TextElement)-}
|
||||||
|
{-(Boolean)-})-}
|
||||||
|
{-(KeyValue
|
||||||
|
{-(SymbolElement)-}
|
||||||
{-(Integer)-})-})
|
{-(Integer)-})-})
|
||||||
{-(Hash)-}
|
{-(Hash)-}
|
||||||
{-(Hash
|
{-(Hash
|
||||||
{-(Context
|
{-(Context
|
||||||
{-(Comment)-}
|
{-(Comment)-}
|
||||||
{-(KeyValue
|
{-(KeyValue
|
||||||
{-(Symbol)-}
|
{-(SymbolElement)-}
|
||||||
{-(Integer)-})-})-}
|
{-(Integer)-})-})-}
|
||||||
{-(Context
|
{-(Context
|
||||||
{-(Comment)-}
|
{-(Comment)-}
|
||||||
|
30
test/fixtures/ruby/corpus/hash.diffB-A.txt
vendored
30
test/fixtures/ruby/corpus/hash.diffB-A.txt
vendored
@ -1,29 +1,29 @@
|
|||||||
(Statements
|
(Statements
|
||||||
(Hash
|
(Hash
|
||||||
(KeyValue
|
(KeyValue
|
||||||
{ (Symbol)
|
{ (SymbolElement)
|
||||||
->(Symbol) }
|
->(SymbolElement) }
|
||||||
{ (TextElement)
|
{ (TextElement)
|
||||||
->(TextElement) })
|
->(TextElement) })
|
||||||
(KeyValue
|
|
||||||
{ (Symbol)
|
|
||||||
->(Symbol) }
|
|
||||||
{ (Integer)
|
|
||||||
->(Integer) })
|
|
||||||
(KeyValue
|
|
||||||
{ (Symbol)
|
|
||||||
->(TextElement) }
|
|
||||||
{ (Boolean)
|
|
||||||
->(Boolean) })
|
|
||||||
{+(KeyValue
|
{+(KeyValue
|
||||||
{+(Symbol)+}
|
{+(SymbolElement)+}
|
||||||
{+(Integer)+})+})
|
{+(Integer)+})+}
|
||||||
|
(KeyValue
|
||||||
|
{ (SymbolElement)
|
||||||
|
->(TextElement) }
|
||||||
|
{ (Integer)
|
||||||
|
->(Boolean) })
|
||||||
|
(KeyValue
|
||||||
|
{ (SymbolElement)
|
||||||
|
->(SymbolElement) }
|
||||||
|
{ (Boolean)
|
||||||
|
->(Integer) }))
|
||||||
{+(Hash)+}
|
{+(Hash)+}
|
||||||
{+(Hash
|
{+(Hash
|
||||||
{+(Context
|
{+(Context
|
||||||
{+(Comment)+}
|
{+(Comment)+}
|
||||||
{+(KeyValue
|
{+(KeyValue
|
||||||
{+(Symbol)+}
|
{+(SymbolElement)+}
|
||||||
{+(Integer)+})+})+}
|
{+(Integer)+})+})+}
|
||||||
{+(Context
|
{+(Context
|
||||||
{+(Comment)+}
|
{+(Comment)+}
|
||||||
|
8
test/fixtures/ruby/corpus/hash.parseA.txt
vendored
8
test/fixtures/ruby/corpus/hash.parseA.txt
vendored
@ -1,23 +1,23 @@
|
|||||||
(Statements
|
(Statements
|
||||||
(Hash
|
(Hash
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(TextElement))
|
(TextElement))
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Integer))
|
(Integer))
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(TextElement)
|
(TextElement)
|
||||||
(Boolean))
|
(Boolean))
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Integer)))
|
(Integer)))
|
||||||
(Hash)
|
(Hash)
|
||||||
(Hash
|
(Hash
|
||||||
(Context
|
(Context
|
||||||
(Comment)
|
(Comment)
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Integer)))
|
(Integer)))
|
||||||
(Context
|
(Context
|
||||||
(Comment)
|
(Comment)
|
||||||
|
6
test/fixtures/ruby/corpus/hash.parseB.txt
vendored
6
test/fixtures/ruby/corpus/hash.parseB.txt
vendored
@ -1,11 +1,11 @@
|
|||||||
(Statements
|
(Statements
|
||||||
(Hash
|
(Hash
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(TextElement))
|
(TextElement))
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Integer))
|
(Integer))
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Boolean))))
|
(Boolean))))
|
||||||
|
@ -3,7 +3,9 @@
|
|||||||
{+(Send
|
{+(Send
|
||||||
{+(Identifier)+}
|
{+(Identifier)+}
|
||||||
{+(TextElement)+}
|
{+(TextElement)+}
|
||||||
{+(TextElement)+})+}
|
{+(Statements
|
||||||
|
{+(TextElement)+})+})+}
|
||||||
{+(Identifier)+})+}
|
{+(Identifier)+})+}
|
||||||
{-(TextElement)-}
|
{-(TextElement)-}
|
||||||
{-(TextElement)-})
|
{-(Statements
|
||||||
|
{-(TextElement)-})-})
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
(Statements
|
(Statements
|
||||||
{+(TextElement)+}
|
{+(TextElement)+}
|
||||||
{+(TextElement)+}
|
{+(Statements
|
||||||
|
{+(TextElement)+})+}
|
||||||
{-(Send
|
{-(Send
|
||||||
{-(Send
|
{-(Send
|
||||||
{-(Identifier)-}
|
{-(Identifier)-}
|
||||||
{-(TextElement)-}
|
{-(TextElement)-}
|
||||||
{-(TextElement)-})-}
|
{-(Statements
|
||||||
|
{-(TextElement)-})-})-}
|
||||||
{-(Identifier)-})-})
|
{-(Identifier)-})-})
|
||||||
|
3
test/fixtures/ruby/corpus/heredoc.parseA.txt
vendored
3
test/fixtures/ruby/corpus/heredoc.parseA.txt
vendored
@ -1,3 +1,4 @@
|
|||||||
(Statements
|
(Statements
|
||||||
(TextElement)
|
(TextElement)
|
||||||
(TextElement))
|
(Statements
|
||||||
|
(TextElement)))
|
||||||
|
3
test/fixtures/ruby/corpus/heredoc.parseB.txt
vendored
3
test/fixtures/ruby/corpus/heredoc.parseB.txt
vendored
@ -3,5 +3,6 @@
|
|||||||
(Send
|
(Send
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(TextElement)
|
(TextElement)
|
||||||
(TextElement))
|
(Statements
|
||||||
|
(TextElement)))
|
||||||
(Identifier)))
|
(Identifier)))
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
(Statements
|
(Statements
|
||||||
{ (Symbol)
|
(Symbol
|
||||||
->(Symbol) }
|
(InterpolationElement
|
||||||
{ (TextElement)
|
(Send
|
||||||
->(TextElement) })
|
{ (Identifier)
|
||||||
|
->(Identifier) })))
|
||||||
|
(String
|
||||||
|
(InterpolationElement
|
||||||
|
(Send
|
||||||
|
{ (Identifier)
|
||||||
|
->(Identifier) }))))
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
(Statements
|
(Statements
|
||||||
{ (Symbol)
|
(Symbol
|
||||||
->(Symbol) }
|
(InterpolationElement
|
||||||
{ (TextElement)
|
(Send
|
||||||
->(TextElement) })
|
{ (Identifier)
|
||||||
|
->(Identifier) })))
|
||||||
|
(String
|
||||||
|
(InterpolationElement
|
||||||
|
(Send
|
||||||
|
{ (Identifier)
|
||||||
|
->(Identifier) }))))
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
(Statements
|
(Statements
|
||||||
(Symbol)
|
(Symbol
|
||||||
(TextElement))
|
(InterpolationElement
|
||||||
|
(Send
|
||||||
|
(Identifier))))
|
||||||
|
(String
|
||||||
|
(InterpolationElement
|
||||||
|
(Send
|
||||||
|
(Identifier)))))
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
(Statements
|
(Statements
|
||||||
(Symbol)
|
(Symbol
|
||||||
(TextElement))
|
(InterpolationElement
|
||||||
|
(Send
|
||||||
|
(Identifier))))
|
||||||
|
(String
|
||||||
|
(InterpolationElement
|
||||||
|
(Send
|
||||||
|
(Identifier)))))
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
(Boolean)
|
(Boolean)
|
||||||
(Boolean)
|
(Boolean)
|
||||||
(Null)
|
(Null)
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Integer)
|
(Integer)
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(Identifier)
|
(Identifier)
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
(Send
|
(Send
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Boolean))
|
(Boolean))
|
||||||
{+(KeyValue
|
{+(KeyValue
|
||||||
{+(Symbol)+}
|
{+(SymbolElement)+}
|
||||||
{+(Integer)+})+}))
|
{+(Integer)+})+}))
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
(Send
|
(Send
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Boolean))
|
(Boolean))
|
||||||
{-(KeyValue
|
{-(KeyValue
|
||||||
{-(Symbol)-}
|
{-(SymbolElement)-}
|
||||||
{-(Integer)-})-}))
|
{-(Integer)-})-}))
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
(Send
|
(Send
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Boolean))))
|
(Boolean))))
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
(Send
|
(Send
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Boolean))
|
(Boolean))
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Integer))))
|
(Integer))))
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
(Send
|
(Send
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Boolean))
|
(Boolean))
|
||||||
{+(KeyValue
|
{+(KeyValue
|
||||||
{+(Symbol)+}
|
{+(SymbolElement)+}
|
||||||
{+(Integer)+})+}))
|
{+(Integer)+})+}))
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
(Send
|
(Send
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Boolean))
|
(Boolean))
|
||||||
{-(KeyValue
|
{-(KeyValue
|
||||||
{-(Symbol)-}
|
{-(SymbolElement)-}
|
||||||
{-(Integer)-})-}))
|
{-(Integer)-})-}))
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
(Send
|
(Send
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Boolean))))
|
(Boolean))))
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
(Send
|
(Send
|
||||||
(Identifier)
|
(Identifier)
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Boolean))
|
(Boolean))
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Integer))))
|
(Integer))))
|
||||||
|
@ -11,10 +11,10 @@
|
|||||||
{-(Send
|
{-(Send
|
||||||
{-(Identifier)-})-}
|
{-(Identifier)-})-}
|
||||||
{-(KeyValue
|
{-(KeyValue
|
||||||
{-(Symbol)-}
|
{-(SymbolElement)-}
|
||||||
{-(Integer)-})-}
|
{-(Integer)-})-}
|
||||||
{-(KeyValue
|
{-(KeyValue
|
||||||
{-(Symbol)-}
|
{-(SymbolElement)-}
|
||||||
{-(Integer)-})-})-}
|
{-(Integer)-})-})-}
|
||||||
{-(Send
|
{-(Send
|
||||||
{-(Identifier)-}
|
{-(Identifier)-}
|
||||||
|
@ -11,10 +11,10 @@
|
|||||||
{+(Send
|
{+(Send
|
||||||
{+(Identifier)+})+}
|
{+(Identifier)+})+}
|
||||||
{+(KeyValue
|
{+(KeyValue
|
||||||
{+(Symbol)+}
|
{+(SymbolElement)+}
|
||||||
{+(Integer)+})+}
|
{+(Integer)+})+}
|
||||||
{+(KeyValue
|
{+(KeyValue
|
||||||
{+(Symbol)+}
|
{+(SymbolElement)+}
|
||||||
{+(Integer)+})+})+}
|
{+(Integer)+})+})+}
|
||||||
{+(Send
|
{+(Send
|
||||||
{+(Identifier)+}
|
{+(Identifier)+}
|
||||||
|
@ -10,10 +10,10 @@
|
|||||||
(Send
|
(Send
|
||||||
(Identifier))
|
(Identifier))
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Integer))
|
(Integer))
|
||||||
(KeyValue
|
(KeyValue
|
||||||
(Symbol)
|
(SymbolElement)
|
||||||
(Integer)))
|
(Integer)))
|
||||||
(Send
|
(Send
|
||||||
(Identifier)
|
(Identifier)
|
||||||
|
4
test/fixtures/ruby/corpus/number.diffA-B.txt
vendored
4
test/fixtures/ruby/corpus/number.diffA-B.txt
vendored
@ -1,6 +1,5 @@
|
|||||||
(Statements
|
(Statements
|
||||||
{ (Integer)
|
{+(Integer)+}
|
||||||
->(Integer) }
|
|
||||||
{+(Integer)+}
|
{+(Integer)+}
|
||||||
{+(Integer)+}
|
{+(Integer)+}
|
||||||
{+(Integer)+}
|
{+(Integer)+}
|
||||||
@ -12,4 +11,5 @@
|
|||||||
{-(Integer)-}
|
{-(Integer)-}
|
||||||
{-(Integer)-}
|
{-(Integer)-}
|
||||||
{-(Integer)-}
|
{-(Integer)-}
|
||||||
|
{-(Integer)-}
|
||||||
{-(Float)-})
|
{-(Float)-})
|
||||||
|
8
test/fixtures/ruby/corpus/number.diffB-A.txt
vendored
8
test/fixtures/ruby/corpus/number.diffB-A.txt
vendored
@ -1,15 +1,15 @@
|
|||||||
(Statements
|
(Statements
|
||||||
{ (Integer)
|
{+(Integer)+}
|
||||||
->(Integer) }
|
{+(Integer)+}
|
||||||
{+(Integer)+}
|
{+(Integer)+}
|
||||||
{ (Integer)
|
{ (Integer)
|
||||||
->(Integer) }
|
->(Integer) }
|
||||||
{+(Integer)+}
|
{+(Integer)+}
|
||||||
{ (Integer)
|
|
||||||
->(Integer) }
|
|
||||||
{+(Integer)+}
|
{+(Integer)+}
|
||||||
{+(Float)+}
|
{+(Float)+}
|
||||||
{-(Integer)-}
|
{-(Integer)-}
|
||||||
{-(Integer)-}
|
{-(Integer)-}
|
||||||
{-(Integer)-}
|
{-(Integer)-}
|
||||||
|
{-(Integer)-}
|
||||||
|
{-(Integer)-}
|
||||||
{-(Float)-})
|
{-(Float)-})
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
(Statements
|
(Statements
|
||||||
(Array
|
(Array
|
||||||
{+(Send
|
(TextElement)
|
||||||
{+(Identifier)+})+}))
|
{+(String
|
||||||
|
{+(InterpolationElement
|
||||||
|
{+(Send
|
||||||
|
{+(Identifier)+})+})+})+}
|
||||||
|
{ (TextElement)
|
||||||
|
->(TextElement) }))
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
(Statements
|
(Statements
|
||||||
(Array
|
(Array
|
||||||
{-(Send
|
(TextElement)
|
||||||
{-(Identifier)-})-}))
|
{+(TextElement)+}
|
||||||
|
{-(String
|
||||||
|
{-(InterpolationElement
|
||||||
|
{-(Send
|
||||||
|
{-(Identifier)-})-})-})-}
|
||||||
|
{-(TextElement)-}))
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
(Statements
|
(Statements
|
||||||
(Array))
|
(Array
|
||||||
|
(TextElement)
|
||||||
|
(TextElement)))
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
(Statements
|
(Statements
|
||||||
(Array
|
(Array
|
||||||
(Send
|
(TextElement)
|
||||||
(Identifier))))
|
(String
|
||||||
|
(InterpolationElement
|
||||||
|
(Send
|
||||||
|
(Identifier))))
|
||||||
|
(TextElement)))
|
||||||
|
12
test/fixtures/ruby/corpus/symbol.diffA-B.txt
vendored
12
test/fixtures/ruby/corpus/symbol.diffA-B.txt
vendored
@ -1,7 +1,7 @@
|
|||||||
(Statements
|
(Statements
|
||||||
{+(Symbol)+}
|
{ (SymbolElement)
|
||||||
{ (Symbol)
|
->(SymbolElement) }
|
||||||
->(Symbol) }
|
{ (SymbolElement)
|
||||||
{ (Symbol)
|
->(SymbolElement) }
|
||||||
->(Symbol) }
|
{ (SymbolElement)
|
||||||
{-(Symbol)-})
|
->(SymbolElement) })
|
||||||
|
12
test/fixtures/ruby/corpus/symbol.diffB-A.txt
vendored
12
test/fixtures/ruby/corpus/symbol.diffB-A.txt
vendored
@ -1,7 +1,7 @@
|
|||||||
(Statements
|
(Statements
|
||||||
{+(Symbol)+}
|
{ (SymbolElement)
|
||||||
{+(Symbol)+}
|
->(SymbolElement) }
|
||||||
{+(Symbol)+}
|
{ (SymbolElement)
|
||||||
{-(Symbol)-}
|
->(SymbolElement) }
|
||||||
{-(Symbol)-}
|
{ (SymbolElement)
|
||||||
{-(Symbol)-})
|
->(SymbolElement) })
|
||||||
|
Loading…
Reference in New Issue
Block a user