summaryrefslogtreecommitdiff
path: root/src/Test.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2022-10-08 22:29:35 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2022-10-08 22:29:35 +0200
commited4dcb61f8a13a3cbfee1c30ea2cb12b5fd3c1ec (patch)
tree221e97031660dd1ce2a7d1bde16a28e551037b15 /src/Test.hs
parentff745aeb332e29566814cec87090f1188bca83ec (diff)
Node command to declare new node variable
Diffstat (limited to 'src/Test.hs')
-rw-r--r--src/Test.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Test.hs b/src/Test.hs
index 5a45930..6b04fac 100644
--- a/src/Test.hs
+++ b/src/Test.hs
@@ -33,6 +33,7 @@ data Test = Test
}
data TestStep = forall a. ExprType a => Let SourceLine VarName (Expr a) [TestStep]
+ | DeclNode (TypedVarName Node) [TestStep]
| Spawn (TypedVarName Process) (Either (TypedVarName Node) (Expr Node)) [TestStep]
| Send (Expr Process) (Expr Text)
| Expect SourceLine (Expr Process) (Expr Regex) [TypedVarName Text] [TestStep]