浏览代码

Use with-...-standard-env in override test

All tests should be wrapped in `with-ido-ubiquitous-standard-env` so
that the user's customizations will interfere with testing.
Ryan C. Thompson 9 年之前
父节点
当前提交
521e0c3ca2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/ido-ubiquitous-test.el

+ 1 - 1
test/ido-ubiquitous-test.el

@@ -488,7 +488,7 @@ Note that although this is a macro, the TAG argument is evaluated normally."
   (let ((orig-func-overrides ido-ubiquitous-function-overrides)
         (orig-cmd-overrides ido-ubiquitous-command-overrides))
     (unwind-protect
-        (progn
+        (with-ido-ubiquitous-standard-env
           (customize-set-variable
            'ido-ubiquitous-function-overrides
            (append ido-ubiquitous-function-overrides