]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix char encoding in term-tests.el
authorStephane Zermatten <szermatt@gmx.net>
Thu, 12 Jun 2025 08:10:05 +0000 (11:10 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 18 Jun 2025 08:11:58 +0000 (10:11 +0200)
* test/lisp/term-tests.el (term-handle-osc): Fix unicode
characters using "\u" notation.  (Bug#78263)

(cherry picked from commit 3b7fc1b717321d44e283432a6942ec7109eb2093)

test/lisp/term-tests.el

index 4fcc564cc5dedb99c5749b64845b75b54f4d5022..53701fad1eb4fa7f6b06bd1a3736890d173c6c46 100644 (file)
@@ -484,7 +484,7 @@ This is a reduced example from GNU nano's initial screen."
       (should (equal "test"
                      (term-test-screen-from-input
                       40 1 "te\e]2;\xce\xb1\xce\xb2\e\\st")))
-      (should (equal '(("2" . "αβ")) captured)))
+      (should (equal '(("2" . "\u03b1\u03b2")) captured)))
 
     ;; Ignore unhandled and invalid OSC sequences
     (setq captured nil)