From a1dfbbe79e188e6da8eff8a4c7eead4d9d5a3a09 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sat, 30 Jul 2022 07:25:41 -0700 Subject: fix(wpcarro/emacs): Use should macro in string.el tests :) Change-Id: Ic20b9c5c66465f2b28f58239a9e7d38dc19f2260 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6012 Reviewed-by: wpcarro Autosubmit: wpcarro Tested-by: BuildkiteCI --- users/wpcarro/emacs/pkgs/string/tests.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'users/wpcarro/emacs/pkgs/string') diff --git a/users/wpcarro/emacs/pkgs/string/tests.el b/users/wpcarro/emacs/pkgs/string/tests.el index 92290c6db803..351e305466d3 100644 --- a/users/wpcarro/emacs/pkgs/string/tests.el +++ b/users/wpcarro/emacs/pkgs/string/tests.el @@ -10,13 +10,13 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (ert-deftest string-caps->kebab () - (string= "foo-bar-baz" (string-caps->kebab "FOO_BAR_BAZ"))) + (should (string= "foo-bar-baz" (string-caps->kebab "FOO_BAR_BAZ")))) (ert-deftest string-kebab->caps () - (string= "FOO_BAR_BAZ" (string-kebab->caps "foo-bar-baz"))) + (should (string= "FOO_BAR_BAZ" (string-kebab->caps "foo-bar-baz")))) (ert-deftest string-lower->caps () - (string= "FOO_BAR_BAZ" (string-lower->caps "foo bar baz"))) + (should (string= "FOO_BAR_BAZ" (string-lower->caps "foo bar baz")))) (ert-deftest string-lower->kebab () - (string= "foo-bar-baz" (string-lower->kebab "foo bar baz"))) + (should (string= "foo-bar-baz" (string-lower->kebab "foo bar baz")))) -- cgit 1.4.1