diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2022-10-08 22:29:35 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2022-10-08 22:29:35 +0200 |
commit | ed4dcb61f8a13a3cbfee1c30ea2cb12b5fd3c1ec (patch) | |
tree | 221e97031660dd1ce2a7d1bde16a28e551037b15 /src/Test.hs | |
parent | ff745aeb332e29566814cec87090f1188bca83ec (diff) |
Node command to declare new node variable
Diffstat (limited to 'src/Test.hs')
-rw-r--r-- | src/Test.hs | 1 |
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] |