summaryrefslogtreecommitdiff
path: root/bog-tests.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-11-22 03:06:59 -0500
committerKyle Meyer <kyle@kyleam.com>2014-11-22 03:06:59 -0500
commit37da56976b08b6d26ec35eee411b20bc2253f38f (patch)
tree78887070d00bcb92f1952548f36515680b06e589 /bog-tests.el
parent9ede95803eae7fa7b31e784ffb7b9293a6a1f2ed (diff)
downloadbog-37da56976b08b6d26ec35eee411b20bc2253f38f.tar.gz
Mark bog-prepare-bib-file as an internal function
Diffstat (limited to 'bog-tests.el')
-rw-r--r--bog-tests.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/bog-tests.el b/bog-tests.el
index 022275e..d5e3882 100644
--- a/bog-tests.el
+++ b/bog-tests.el
@@ -226,9 +226,9 @@
;;; BibTeX functions
-;; `bog-prepare-bib-file'
+;; `bog--prepare-bib-file'
-(ert-deftest bog-prepare-bib-file ()
+(ert-deftest bog--prepare-bib-file ()
(bog-tests--with-temp-dir
(let ((temp-file (make-temp-file
(expand-file-name "bog-testing-" default-directory)
@@ -243,14 +243,14 @@
"\n}")
(save-buffer))
(kill-buffer (get-file-buffer temp-file))
- (bog-prepare-bib-file temp-file)
+ (bog--prepare-bib-file temp-file)
(should-not (file-exists-p temp-file))
(let* ((new-file (concat citekey ".bib"))
(new-buffer (get-file-buffer new-file)))
(should-not new-buffer)
(delete-file new-file)))))
-(ert-deftest bog-prepare-bib-file-was-open ()
+(ert-deftest bog--prepare-bib-file-was-open ()
(bog-tests--with-temp-dir
(let ((temp-file (make-temp-file
(expand-file-name "bog-testing-" default-directory)
@@ -264,7 +264,7 @@
"year = 2009,\n"
"\n}")
(save-buffer))
- (bog-prepare-bib-file temp-file)
+ (bog--prepare-bib-file temp-file)
(should-not (file-exists-p temp-file))
(let* ((new-file (concat citekey ".bib"))
(new-buffer (get-file-buffer new-file)))