mirror of
https://github.com/chrisdone/duet.git
synced 2025-01-08 06:53:22 +03:00
Another close parens
This commit is contained in:
parent
3cfd69367d
commit
5b101abaf0
@ -88,6 +88,27 @@ parensTests =
|
||||
(ConstantExpression
|
||||
(Label {labelUUID = UUID "2"})
|
||||
(Identifier {identifierString = "_"}))))))
|
||||
, Test
|
||||
"Hit close parenthesis to select the parent node"
|
||||
[ KeyPressAction '('
|
||||
, KeyPressAction 'f'
|
||||
, KeyPressAction ' '
|
||||
, KeyPressAction 'x'
|
||||
, KeyPressAction ')'
|
||||
]
|
||||
(focus
|
||||
(UUID "1")
|
||||
(rhsSelectedState
|
||||
(ParensExpression
|
||||
(Label {labelUUID = UUID "1"})
|
||||
(ApplicationExpression
|
||||
(Label {labelUUID = UUID "4"})
|
||||
(VariableExpression
|
||||
(Label {labelUUID = UUID "2"})
|
||||
(Identifier {identifierString = "f"}))
|
||||
(VariableExpression
|
||||
(Label {labelUUID = UUID "3"})
|
||||
(Identifier {identifierString = "x"}))))))
|
||||
, Test
|
||||
"Hit close parenthesis to select the parent node"
|
||||
(typeChars "fib(n-1)+fib(n-2")
|
||||
|
Loading…
Reference in New Issue
Block a user