mirror of
https://github.com/MontFerret/ferret.git
synced 2025-12-05 22:26:09 +02:00
Feature/#263 waitfor event (#590)
* Added new WAITFOR syntax * Added support of event options * Added support of options * Added support of using WAITFOR EVENT in variable assignment
This commit is contained in:
@@ -13,7 +13,7 @@ func TestTernaryOperator(t *testing.T) {
|
||||
c := compiler.New()
|
||||
p, err := c.Compile(`
|
||||
FOR i IN [1, 2, 3, 4, 5, 6]
|
||||
RETURN i < 3 ? i * 3 : i * 2;
|
||||
RETURN i < 3 ? i * 3 : i * 2
|
||||
`)
|
||||
|
||||
So(err, ShouldBeNil)
|
||||
|
||||
Reference in New Issue
Block a user