diff options
author | Tom Tromey <tromey@redhat.com> | 2013-03-08 11:57:29 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-03-08 11:57:29 -0700 |
commit | 71f91792e3013b397996905224f387da5cc539a9 (patch) | |
tree | 4c3d3ba909e76deea1cdf73b73fca67a57149465 /lisp/emacs-lisp/ert.el | |
parent | 6f4de085f065e11f4df3195d47479f28f5ef08ba (diff) | |
parent | b5426561089d39f18b42bed9dbfcb531f43ed562 (diff) | |
download | emacs-71f91792e3013b397996905224f387da5cc539a9.tar.gz emacs-71f91792e3013b397996905224f387da5cc539a9.tar.bz2 emacs-71f91792e3013b397996905224f387da5cc539a9.zip |
merge from trunk
Diffstat (limited to 'lisp/emacs-lisp/ert.el')
-rw-r--r-- | lisp/emacs-lisp/ert.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index dd849362228..7df3acccbc9 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el @@ -568,7 +568,8 @@ failed." (defun ert--explain-format-atom (x) "Format the atom X for `ert--explain-equal'." (cl-typecase x - (fixnum (list x (format "#x%x" x) (format "?%c" x))) + (character (list x (format "#x%x" x) (format "?%c" x))) + (fixnum (list x (format "#x%x" x))) (t x))) (defun ert--explain-equal-rec (a b) |