summaryrefslogtreecommitdiff
path: root/src/Test.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-05-14 18:51:26 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2025-05-14 18:51:26 +0200
commitbe0e2017b46e981060b1f9f5fd764571ad2dc2a1 (patch)
tree1897c90e2d72fe495976850deb71ca27541dc8ac /src/Test.hs
parent077cfa3e35330ec982c0b4c9047c0956d04d1103 (diff)
Make shell process name optionalHEADmaster
Diffstat (limited to 'src/Test.hs')
-rw-r--r--src/Test.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Test.hs b/src/Test.hs
index b8c5049..198b7e6 100644
--- a/src/Test.hs
+++ b/src/Test.hs
@@ -34,7 +34,7 @@ data TestStep a where
Subnet :: TypedVarName Network -> Network -> (Network -> TestBlock a) -> TestStep a
DeclNode :: TypedVarName Node -> Network -> (Node -> TestBlock a) -> TestStep a
Spawn :: TypedVarName Process -> Either Network Node -> (Process -> TestBlock a) -> TestStep a
- SpawnShell :: TypedVarName Process -> Node -> ShellScript -> (Process -> TestBlock a) -> TestStep a
+ SpawnShell :: Maybe (TypedVarName Process) -> Node -> ShellScript -> (Process -> TestBlock a) -> TestStep a
Send :: Process -> Text -> TestStep ()
Expect :: SourceLine -> Process -> Traced Regex -> [ TypedVarName Text ] -> ([ Text ] -> TestBlock a) -> TestStep a
Flush :: Process -> Maybe Regex -> TestStep ()