summaryrefslogtreecommitdiff
path: root/test/automated/package-test.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-05-28 21:45:55 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-05-28 21:46:14 -0700
commit622f345b304f7eb72c94af603c2b1142489691a5 (patch)
tree8d0a3aa6d3ccb414d4ed0531d2d1e3f8fa1d4e9f /test/automated/package-test.el
parent528118919924eb20834aa4f7291c6d625892a677 (diff)
downloademacs-622f345b304f7eb72c94af603c2b1142489691a5.tar.gz
Change package test to look for curved quotes
* test/automated/package-test.el (package-test-describe-package) (package-test-signed): Search for curved single quotes as well as for grave accent and apostrophe.
Diffstat (limited to 'test/automated/package-test.el')
-rw-r--r--test/automated/package-test.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/automated/package-test.el b/test/automated/package-test.el
index 677bfa613fc..e908635e341 100644
--- a/test/automated/package-test.el
+++ b/test/automated/package-test.el
@@ -393,8 +393,8 @@ Must called from within a `tar-mode' buffer."
(describe-package 'simple-single)
(goto-char (point-min))
(should (search-forward "simple-single is an installed package." nil t))
- (should (search-forward
- "Status: Installed in `~/simple-single-1.3/' (unsigned)."
+ (should (re-search-forward
+ "Status: Installed in [`‘]~/simple-single-1.3/['’] (unsigned)."
nil t))
(should (search-forward "Version: 1.3" nil t))
(should (search-forward "Summary: A single-file package with no dependencies"
@@ -466,8 +466,8 @@ Must called from within a `tar-mode' buffer."
(goto-char (point-min))
(should (re-search-forward "signed-good is an? \\(\\S-+\\) package." nil t))
(should (string-equal (match-string-no-properties 1) "installed"))
- (should (search-forward
- "Status: Installed in `~/signed-good-1.0/'."
+ (should (re-search-forward
+ "Status: Installed in [`‘]~/signed-good-1.0/['’]."
nil t))))))