summaryrefslogtreecommitdiff
path: root/test/tests/clean-nonexistent.bash
diff options
context:
space:
mode:
Diffstat (limited to 'test/tests/clean-nonexistent.bash')
-rw-r--r--test/tests/clean-nonexistent.bash8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/tests/clean-nonexistent.bash b/test/tests/clean-nonexistent.bash
new file mode 100644
index 0000000..39d33ef
--- /dev/null
+++ b/test/tests/clean-nonexistent.bash
@@ -0,0 +1,8 @@
+test_description='clean ignores nonexistent directories'
+. '../test-lib.bash'
+
+test_expect_success 'run' '
+run_dotbot <<EOF
+- clean: ["~", "~/fake"]
+EOF
+'