summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/emacs-lisp/subr-x-tests.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/lisp/emacs-lisp/subr-x-tests.el b/test/lisp/emacs-lisp/subr-x-tests.el
index 94ff459869c..6ed06d4ce4f 100644
--- a/test/lisp/emacs-lisp/subr-x-tests.el
+++ b/test/lisp/emacs-lisp/subr-x-tests.el
@@ -602,11 +602,11 @@
(should (equal (string-lines "foo") '("foo")))
(should (equal (string-lines "foo \nbar") '("foo " "bar"))))
-(ert-deftest subr-slice-string ()
- (should (equal (slice-string "foo-bar" "-") '("foo" "-bar")))
- (should (equal (slice-string "foo-bar-" "-") '("foo" "-bar" "-")))
- (should (equal (slice-string "-foo-bar-" "-") '("-foo" "-bar" "-")))
- (should (equal (slice-string "ooo" "lala") '("ooo"))))
+(ert-deftest subr-string-slice ()
+ (should (equal (string-slice "foo-bar" "-") '("foo" "-bar")))
+ (should (equal (string-slice "foo-bar-" "-") '("foo" "-bar" "-")))
+ (should (equal (string-slice "-foo-bar-" "-") '("-foo" "-bar" "-")))
+ (should (equal (string-slice "ooo" "lala") '("ooo"))))
(ert-deftest subr-string-pad ()
(should (equal (string-pad "foo" 5) "foo "))