From 393c5942ba9b3aefdf9de262a6be9cfe42a9b265 Mon Sep 17 00:00:00 2001 From: Benjamin Motz Date: Sun, 17 Mar 2019 10:48:36 +0100 Subject: [PATCH] Modify test to reflect creation behaviour for missing targets --- ...xistent.bash => link-creates-when-nonexistent.bash} | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) rename test/tests/{link-force-leaves-when-nonexistent.bash => link-creates-when-nonexistent.bash} (55%) diff --git a/test/tests/link-force-leaves-when-nonexistent.bash b/test/tests/link-creates-when-nonexistent.bash similarity index 55% rename from test/tests/link-force-leaves-when-nonexistent.bash rename to test/tests/link-creates-when-nonexistent.bash index fe6e33c..682fd29 100644 --- a/test/tests/link-force-leaves-when-nonexistent.bash +++ b/test/tests/link-creates-when-nonexistent.bash @@ -1,4 +1,4 @@ -test_description='force leaves file when target nonexistent' +test_description='link creates target and links file when target nonexistent' . '../test-lib.bash' test_expect_success 'setup' ' @@ -6,7 +6,7 @@ mkdir ~/dir && touch ~/file ' -test_expect_failure 'run' ' +test_expect_success 'run' ' run_dotbot <