Add test loading oni-bookmark
This commit is contained in:
parent
a2a474d87a
commit
e5127ad0d2
2 changed files with 9 additions and 5 deletions
9
test/integration/oni-bookmark.bats
Normal file
9
test/integration/oni-bookmark.bats
Normal 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" ]
|
||||
}
|
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue