From 67ed6ee7337d66dc1101e41bc2e67bde5ab0ecd4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Thu, 10 Oct 2019 21:20:20 +0200 Subject: [PATCH] Correctly explain test failures with mixed uni/multibyte strings * lisp/emacs-lisp/ert.el (ert--explain-equal-rec): * test/lisp/emacs-lisp/ert-tests.el (ert-test-explain-equal): When explaining a difference between a unibyte and a multibyte string, first convert both to multibyte. Otherwise, we might end up comparing unibyte char C to multibyte char C, 127