]> git.eshelyaron.com Git - emacs.git/commitdiff
test provide
authorAndrea Corallo <akrl@sdf.org>
Mon, 4 Nov 2019 22:06:54 +0000 (23:06 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:38:01 +0000 (11:38 +0100)
test/src/comp-test-funcs.el
test/src/comp-tests.el

index 66ce0e70e8d674bcb4aea2e3f889764ae7e2c3d5..79a25511fad8e2c0886cb574b0f3b3cf4aa6845e 100644 (file)
       (?< 1)
       (?> 2))))
 
+(provide 'comp-test-funcs)
+
 ;;; comp-test-funcs.el ends here
index 06a1ae90542959d6ece560f0057a8f8c47aaad30..6eada52541f5bce3d181a5878bd23695f0d31a03 100644 (file)
           "comp-test-funcs.el"))
 
 (message "Compiling %s" comp-test-src)
-(native-compile comp-test-src)
-(load (concat comp-test-src "n"))
+(load (native-compile comp-test-src))
+
+(ert-deftest comp-tests-provide ()
+  "Testing top level provide."
+  (should (featurep 'comp-test-funcs)))
 
 (ert-deftest comp-tests-varref ()
   "Testing varref."