From c402396c58114640745dbba132856cfd8cd7f422 Mon Sep 17 00:00:00 2001 From: Anish Athalye Date: Sat, 6 Feb 2016 13:54:19 -0500 Subject: Add documentation and tests for plugins --- test/tests/plugin-dir.bash | 29 +++++++++++++++++++++++++++++ test/tests/plugin.bash | 28 ++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 test/tests/plugin-dir.bash create mode 100644 test/tests/plugin.bash (limited to 'test') diff --git a/test/tests/plugin-dir.bash b/test/tests/plugin-dir.bash new file mode 100644 index 0000000..299f144 --- /dev/null +++ b/test/tests/plugin-dir.bash @@ -0,0 +1,29 @@ +test_description='directory-based plugin loading works' +. '../test-lib.bash' + +test_expect_success 'setup' ' +mkdir ${DOTFILES}/plugins +cat > ${DOTFILES}/plugins/test.py < ${DOTFILES}/test.py <