branch: scratch/el-mock
commit e3cff9f127ab62dc177b043ce319c7866f6fe2f0
Merge: 034c7e5fca 8e9f1fbfec
Author: Johan Andersson <johan.rej...@gmail.com>
Commit: GitHub <nore...@github.com>

    Merge pull request #13 from phst/fix-tests
    
    Fix tests for Emacs 25.1 Unicode quotes
---
 test/el-mock-test.el | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/test/el-mock-test.el b/test/el-mock-test.el
index b539be8b47..9eeaa0967c 100644
--- a/test/el-mock-test.el
+++ b/test/el-mock-test.el
@@ -46,7 +46,8 @@
  ;;         (with-mock
  ;;          (stub fooz 7)))
  (expect (error-message "Do not use `stub' outside")
-         (let (in-mocking) ; while executing `expect', `in-mocking' is t.
+         (let (in-mocking  ; while executing `expect', `in-mocking' is t.
+               (text-quoting-style 'grave))
            (stub hahahaha)))
  (desc "mock macro")
  (expect 2
@@ -117,7 +118,8 @@
  ;;         (with-mock
  ;;          (mock (fooz) 7)))
  (expect (error-message "Do not use `mock' outside")
-         (let (in-mocking) ; while executing `expect', `in-mocking' is t.
+         (let (in-mocking  ; while executing `expect', `in-mocking' is t.
+               (text-quoting-style 'grave))
            (mock (hahahaha))))
 
  (desc "mock with stub")
@@ -260,7 +262,8 @@
           (hoge 1)))
  (desc "abused not-called macro")
  (expect (error-message "Do not use `not-called' outside")
-         (let (in-mocking) ; while executing `expect', `in-mocking' is t.
+         (let (in-mocking  ; while executing `expect', `in-mocking' is t.
+               (text-quoting-style 'grave))
            (not-called hahahaha)))
  (desc "not-called for adviced function")
  (expect "not-called"

Reply via email to