summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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))))))