aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2015-01-01 23:40:20 -0500
committerSean Allred <code@seanallred.com>2015-01-02 00:06:47 -0500
commit3b275a93789a568d23ece65086ffebb8de430f3a (patch)
treed0a38025d2d559122e063ff893f12345ee936d97 /test
parent54849b2564c3d9bb95bc3512b568e30aa21a3db4 (diff)
Add test for user entry functions
Diffstat (limited to 'test')
-rw-r--r--test/tests.el16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/tests.el b/test/tests.el
index d709600..7bfc86c 100644
--- a/test/tests.el
+++ b/test/tests.el
@@ -59,3 +59,19 @@
(mapc #'sx-load-test
'(api macros printing util))
+
+(ert-deftest user-entry-functions ()
+ "Ensures all entry functions are autoloaded."
+ (should
+ (cl-every
+ #'fboundp
+ '(sx-ask
+ sx-authenticate
+ sx-bug-report
+ sx-tab-frontpage
+ sx-tab-hot
+ sx-tab-month
+ sx-tab-newest
+ sx-tab-topvoted
+ sx-tab-week
+ sx-version))))