From b0ce63904c98a0f3f6547dc0d770aad22b08a8ef Mon Sep 17 00:00:00 2001 From: Anish Athalye Date: Tue, 16 Oct 2018 20:22:50 -0400 Subject: [PATCH] Add test for conditional linking --- test/tests/link-if.bash | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/test/tests/link-if.bash b/test/tests/link-if.bash index de7948f..9fe6429 100644 --- a/test/tests/link-if.bash +++ b/test/tests/link-if.bash @@ -1,2 +1,32 @@ test_description='link if' . '../test-lib.bash' + +test_expect_success 'setup' ' +mkdir ~/d +echo "apple" > ${DOTFILES}/f +' + +test_expect_success 'run' ' +run_dotbot <