1
0
Fork 0

Add test loading oni-bookmark

This commit is contained in:
Tom Willemse 2020-01-07 21:50:29 -08:00
parent a2a474d87a
commit e5127ad0d2
2 changed files with 9 additions and 5 deletions

View file

@ -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" ]
}

View file

@ -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)))