summaryrefslogtreecommitdiff
path: root/snakemake-test.el
diff options
context:
space:
mode:
Diffstat (limited to 'snakemake-test.el')
-rw-r--r--snakemake-test.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/snakemake-test.el b/snakemake-test.el
index 880d7d5..8ebb3ff 100644
--- a/snakemake-test.el
+++ b/snakemake-test.el
@@ -522,6 +522,13 @@ rule abc:
output: 'file'"
(should-not (snakemake-in-rule-or-subworkflow-block-p)))
+ ;; At beginning of buffer
+ (snakemake-with-temp-text
+ "\
+rule abc:
+ output: 'file'<point>"
+ (should (snakemake-in-rule-or-subworkflow-block-p)))
+
;; Subworkflow
(snakemake-with-temp-text
"