diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/tests/plugin-disable-builtin.bash | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/tests/plugin-disable-builtin.bash b/test/tests/plugin-disable-builtin.bash new file mode 100644 index 0000000..f469b0f --- /dev/null +++ b/test/tests/plugin-disable-builtin.bash @@ -0,0 +1,17 @@ +test_description='can disable built-in plugins' +. '../test-lib.bash' + +test_expect_success 'setup' ' +echo "apple" > ${DOTFILES}/f +' + +test_expect_failure 'run' ' +run_dotbot --disable-built-in-plugins <<EOF +- link: + ~/.f: f +EOF +' + +test_expect_failure 'test' ' +test -f ~/.f +' |