aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-10-31 19:39:00 -0400
committerKyle Meyer <kyle@kyleam.com>2016-10-31 19:39:00 -0400
commit31c284548e00939038a600030119d03f7d63263d (patch)
tree030d71d4f5107a0de94e86b3bbd8283c3ed0fb5b
parent02bdf3b96b60aba7d9502411e4b6828674db59db (diff)
downloadsnakemake-mode-31c284548e00939038a600030119d03f7d63263d.tar.gz
tests: Run snakemake-check-target with rule targets
-rw-r--r--snakemake-test.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/snakemake-test.el b/snakemake-test.el
index 8442b82..80b6bcd 100644
--- a/snakemake-test.el
+++ b/snakemake-test.el
@@ -814,6 +814,12 @@ two words"
(should-not
(snakemake-with-temp-dir
(snakemake-check-target "aa.out.not-target")))
+ (should
+ (snakemake-with-temp-dir
+ (snakemake-check-target "aa")))
+ (should-not
+ (snakemake-with-temp-dir
+ (snakemake-check-target "cc_wildcards")))
;; Write-protected targets should be recognized as valid targets
;; despite Snakemake throwing an error.
(should