diff options
| author | Glenn Morris | 2015-02-10 15:01:13 -0500 |
|---|---|---|
| committer | Glenn Morris | 2015-02-10 15:01:13 -0500 |
| commit | ecf8c30bd69f4e659229ace88ac201cc4c647cae (patch) | |
| tree | b7402beeb87693b32facdd40ec80ff02758212d8 | |
| parent | 4069c132a3ecb74e570bd4df87c6880c23a65e3b (diff) | |
| download | emacs-ecf8c30bd69f4e659229ace88ac201cc4c647cae.tar.gz emacs-ecf8c30bd69f4e659229ace88ac201cc4c647cae.zip | |
* package-test.el (package-test-signed): More informative failure messages
Not that anyone appears to read them.
| -rw-r--r-- | test/ChangeLog | 14 | ||||
| -rw-r--r-- | test/automated/package-test.el | 10 |
2 files changed, 15 insertions, 9 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index ff02bd6a25d..74fc7cebd56 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,15 +1,17 @@ | |||
| 1 | 2015-02-10 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * automated/package-test.el (package-test-signed): | ||
| 4 | More informative failure messages. | ||
| 5 | |||
| 1 | 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org> | 6 | 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org> |
| 2 | 7 | ||
| 3 | * automated/python-tests.el | 8 | * automated/python-tests.el (python-eldoc--get-symbol-at-point-1) |
| 4 | (python-eldoc--get-symbol-at-point-1) | ||
| 5 | (python-eldoc--get-symbol-at-point-2) | 9 | (python-eldoc--get-symbol-at-point-2) |
| 6 | (python-eldoc--get-symbol-at-point-3) | 10 | (python-eldoc--get-symbol-at-point-3) |
| 7 | (python-eldoc--get-symbol-at-point-4): New tests. | 11 | (python-eldoc--get-symbol-at-point-4): New tests. |
| 8 | 12 | ||
| 9 | 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org> | 13 | * automated/python-tests.el (python-tests-visible-string): |
| 10 | 14 | New function. | |
| 11 | * automated/python-tests.el | ||
| 12 | (python-tests-visible-string): New function. | ||
| 13 | (python-parens-electric-indent-1) | 15 | (python-parens-electric-indent-1) |
| 14 | (python-triple-quote-pairing): Fix indentation, move require calls. | 16 | (python-triple-quote-pairing): Fix indentation, move require calls. |
| 15 | (python-hideshow-hide-levels-1) | 17 | (python-hideshow-hide-levels-1) |
diff --git a/test/automated/package-test.el b/test/automated/package-test.el index 7d2a343a077..5da3c3689bf 100644 --- a/test/automated/package-test.el +++ b/test/automated/package-test.el | |||
| @@ -419,13 +419,17 @@ Must called from within a `tar-mode' buffer." | |||
| 419 | ;; Check if the installed package status is updated. | 419 | ;; Check if the installed package status is updated. |
| 420 | (let ((buf (package-list-packages))) | 420 | (let ((buf (package-list-packages))) |
| 421 | (package-menu-refresh) | 421 | (package-menu-refresh) |
| 422 | (should (re-search-forward "^\\s-+signed-good\\s-+1\\.0\\s-+installed" | 422 | (should (re-search-forward |
| 423 | nil t))) | 423 | "^\\s-+signed-good\\s-+\\(\\S-+\\)\\s-+\\(\\S-+\\)\\s-" |
| 424 | nil t)) | ||
| 425 | (should (string-equal (match-string-no-properties 1) "1.0")) | ||
| 426 | (should (string-equal (match-string-no-properties 2) "installed"))) | ||
| 424 | ;; Check if the package description is updated. | 427 | ;; Check if the package description is updated. |
| 425 | (with-fake-help-buffer | 428 | (with-fake-help-buffer |
| 426 | (describe-package 'signed-good) | 429 | (describe-package 'signed-good) |
| 427 | (goto-char (point-min)) | 430 | (goto-char (point-min)) |
| 428 | (should (search-forward "signed-good is an installed package." nil t)) | 431 | (should (re-search-forward "signed-good is an? \\(\\S-+\\) package." nil t)) |
| 432 | (should (string-equal (match-string-no-properties 1) "installed")) | ||
| 429 | (should (search-forward | 433 | (should (search-forward |
| 430 | "Status: Installed in `~/signed-good-1.0/'." | 434 | "Status: Installed in `~/signed-good-1.0/'." |
| 431 | nil t)))))) | 435 | nil t)))))) |