From 3c6ed16930c0c18c4f5fddbe181ba407df681a07 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 24 Dec 2015 01:37:32 -0500 Subject: Recognize blank lines in rule docstrings --- test-snakemake-mode.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test-snakemake-mode.el') 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: " (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'" + (should (snakemake-in-rule-or-subworkflow-block-p))) + ;; Before (snakemake-with-temp-text " -- cgit v1.2.3