diff options
author | Matthias Meulien <orontee@gmail.com> | 2022-09-30 22:46:35 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-10-01 11:58:27 +0200 |
commit | abc955d017cc4e6ad33d06d61f8317bd2b6c380f (patch) | |
tree | 3af8aec8b619967cd1269489a650634a5855d3e7 /test | |
parent | 454e1a06a2c5194a81148df91da6ee441adb601b (diff) | |
download | emacs-abc955d017cc4e6ad33d06d61f8317bd2b6c380f.tar.gz emacs-abc955d017cc4e6ad33d06d61f8317bd2b6c380f.tar.bz2 emacs-abc955d017cc4e6ad33d06d61f8317bd2b6c380f.zip |
Rename osc.el to ansi-osc.el (bug#58200)
* lisp/osc.el: Move from here...
* lisp/ansi-osc.el: ...to here.
* test/lisp/osc-tests.el: Move from here...
* test/lisp/ansi-osc-tests.el: ...to here.
Diffstat (limited to 'test')
-rw-r--r-- | test/lisp/ansi-osc-tests.el (renamed from test/lisp/osc-tests.el) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/lisp/osc-tests.el b/test/lisp/ansi-osc-tests.el index d53bab08d3d..b3d66fb036c 100644 --- a/test/lisp/osc-tests.el +++ b/test/lisp/ansi-osc-tests.el @@ -26,10 +26,10 @@ ;;; Code: -(require 'osc) +(require 'ansi-osc) (require 'ert) -(defvar osc-tests--strings +(defvar ansi-osc-tests--strings `( ("Hello World" "Hello World") @@ -48,10 +48,10 @@ ;; Don't output those strings to stdout since they may have ;; side-effects on the environment -(ert-deftest osc-tests-apply-region-no-handlers () - (let ((osc-handlers nil)) - (pcase-dolist (`(,input ,text) osc-tests--strings) +(ert-deftest ansi-osc-tests-apply-region-no-handlers () + (let ((ansi-osc-handlers nil)) + (pcase-dolist (`(,input ,text) ansi-osc-tests--strings) (with-temp-buffer (insert input) - (osc-apply-on-region (point-min) (point-max)) + (ansi-osc-apply-on-region (point-min) (point-max)) (should (equal (buffer-string) text)))))) |