summaryrefslogtreecommitdiff
path: root/src/Parser.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-08-23 21:47:11 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2026-08-23 21:51:21 +0200
commitb3ed032566f4e1ad7ea76a807a2ae54d08b38f31 (patch)
treee35caf822a18f5fd20eed3f5a562bc480d13da12 /src/Parser.hs
parentc071c53a8fbbed9e5a66ba3e939909bf45296128 (diff)
Create test dir subdirectory for based on test name
Changelog: Create test dir subdirectory for given test that includes the test module and name.
Diffstat (limited to 'src/Parser.hs')
-rw-r--r--src/Parser.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Parser.hs b/src/Parser.hs
index ed03f3f..c94e1e8 100644
--- a/src/Parser.hs
+++ b/src/Parser.hs
@@ -45,6 +45,7 @@ parseTestDefinition = label "test definition" $ toplevel ToplevelTest $ do
}
href <- L.indentLevel
testName <- header
+ testModuleName <- gets testCurrentModuleName
osymbol ":" <* eol <* scn
ref <- L.indentGuard scn GT href