From efaed91a6007772acf066e7876c06462f4e68fd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Wed, 10 Aug 2022 20:40:09 +0200 Subject: Let statement --- src/Test.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Test.hs') diff --git a/src/Test.hs b/src/Test.hs index e7e1255..80ee966 100644 --- a/src/Test.hs +++ b/src/Test.hs @@ -30,7 +30,8 @@ data Test = Test , testSteps :: [TestStep] } -data TestStep = Spawn ProcName NodeName +data TestStep = Let SourceLine VarName (Expr Text) + | Spawn ProcName NodeName | Send ProcName (Expr Text) | Expect SourceLine ProcName (Expr Regex) [VarName] | Guard SourceLine (Expr Bool) -- cgit v1.2.3