emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 8f36614 2/2: Add electric-quote-string unit test


From: Paul Eggert
Subject: [Emacs-diffs] emacs-25 8f36614 2/2: Add electric-quote-string unit test
Date: Mon, 02 May 2016 15:59:31 +0000

branch: emacs-25
commit 8f36614512d479fb76764bf013ad23550696c5a6
Author: Philipp Stephani <address@hidden>
Commit: Paul Eggert <address@hidden>

    Add electric-quote-string unit test
    
    * test/automated/electric-tests.el (electric-quote-string): New test.
---
 test/automated/electric-tests.el |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/test/automated/electric-tests.el b/test/automated/electric-tests.el
index 107b2e7..afd7076 100644
--- a/test/automated/electric-tests.el
+++ b/test/automated/electric-tests.el
@@ -584,5 +584,13 @@ baz\"\""
                   (skip-chars-backward "\"")
                   (mark-sexp -1)))
 
+
+;;; Electric quotes
+(define-electric-pair-test electric-quote-string
+  "" "'" :expected-string "'" :expected-point 2
+  :fixture-fn #'electric-quote-local-mode
+  :bindings '((electric-quote-string . t))
+  :test-in-comments nil :test-in-strings nil)
+
 (provide 'electric-tests)
 ;;; electric-tests.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]