diff options
author | Tom Willemse | 2020-01-07 21:50:29 -0800 |
---|---|---|
committer | Tom Willemse | 2020-01-07 21:50:50 -0800 |
commit | e5127ad0d27c1bb0ad5af05f48835eae565ff120 (patch) | |
tree | 6151c2f00f26828752a32d9b3fc841ca694884a5 /test | |
parent | a2a474d87a9d8926e379ea38c3f0499e4e6d4cb0 (diff) | |
download | emacs-config-e5127ad0d27c1bb0ad5af05f48835eae565ff120.tar.gz emacs-config-e5127ad0d27c1bb0ad5af05f48835eae565ff120.zip |
Add test loading oni-bookmark
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/oni-bookmark.bats | 9 | ||||
-rw-r--r-- | test/oni-bookmark-test.el | 5 |
2 files changed, 9 insertions, 5 deletions
diff --git a/test/integration/oni-bookmark.bats b/test/integration/oni-bookmark.bats new file mode 100644 index 0000000..0c6faac --- /dev/null +++ b/test/integration/oni-bookmark.bats @@ -0,0 +1,9 @@ +#!/usr/bin/env bats + +@test "Loading bookmark loads oni-bookmark" { + run emacs -batch -l package -f package-initialize \ + -l bookmark \ + -eval "(prin1 (featurep 'oni-bookmark))" + + [ "$output" = "t" ] +} diff --git a/test/oni-bookmark-test.el b/test/oni-bookmark-test.el index 32d0c77..5ccbbbb 100644 --- a/test/oni-bookmark-test.el +++ b/test/oni-bookmark-test.el @@ -2,8 +2,3 @@ "Test that oni-bookarks works." (require 'bookmark) (should (string-match "/data/" bookmark-default-file))) - -(ert-deftest oni-bookmark-test-autoloads () - "Test that `oni-bookmark' gets loaded automatically." - (require 'bookmark) - (should (featurep 'oni-bookmark))) |