1
0
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:
Tim Voronov
2021-07-13 21:34:22 -04:00
committed by GitHub
parent e6c18ebb84
commit 742bdae0ae
36 changed files with 6156 additions and 4786 deletions

View File

@@ -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)