diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-12-24 01:37:32 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-12-24 01:37:32 -0500 |
commit | 3c6ed16930c0c18c4f5fddbe181ba407df681a07 (patch) | |
tree | a9be7ff959ae400c086436c610b6362d1ccd9db5 /test-snakemake-mode.el | |
parent | 17fcea0f0e3f87e09df566c256791b424e2cdefd (diff) | |
download | snakemake-mode-3c6ed16930c0c18c4f5fddbe181ba407df681a07.tar.gz |
Recognize blank lines in rule docstrings
Diffstat (limited to 'test-snakemake-mode.el')
-rw-r--r-- | test-snakemake-mode.el | 12 |
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> |