]> code.delx.au - gnu-emacs/commitdiff
; Only load .elc file in tests.
authorPhillip Lord <phillip.lord@russet.org.uk>
Wed, 22 Jun 2016 20:59:51 +0000 (21:59 +0100)
committerPhillip Lord <phillip.lord@russet.org.uk>
Wed, 22 Jun 2016 20:59:51 +0000 (21:59 +0100)
* test/automated/viper-tests.el (viper-test-undo-kmacro): Ensure that
  empty load file ends with .elc extension.

test/automated/viper-tests.el

index 074dd637538655083f0b852a042661f7bd61b9e9..0d6095b2c9229d7ed84c8db03c59f7b6bef3310f 100644 (file)
@@ -38,7 +38,7 @@ after itself, although it will leave a buffer called
         ;; Select an expert-level for the same reason.
         (viper-expert-level 5)
         ;; viper loads this even with -q so make sure it's empty!
-        (viper-custom-file-name (make-temp-file "viper-tests"))
+        (viper-custom-file-name (make-temp-file "viper-tests" nil ".elc"))
         (before-buffer (current-buffer)))
     (unwind-protect
         (progn