summaryrefslogtreecommitdiff
path: root/test-snakemake-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'test-snakemake-mode.el')
-rw-r--r--test-snakemake-mode.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-snakemake-mode.el b/test-snakemake-mode.el
index 859c28a..df8b353 100644
--- a/test-snakemake-mode.el
+++ b/test-snakemake-mode.el
@@ -475,6 +475,18 @@ rule abc:
<point>"
(should-not (snakemake-in-rule-or-subworkflow-block-p)))
+
+ ;; Blank line in docstring
+ (snakemake-with-temp-text
+ "
+rule abc:
+ \"\"\"docstring header
+
+ docstring line
+ \"\"\"
+ output: 'file'<point>"
+ (should (snakemake-in-rule-or-subworkflow-block-p)))
+
;; Before
(snakemake-with-temp-text
"<point>