about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-07-30T14·25-0700
committerclbot <clbot@tvl.fyi>2022-07-30T14·28+0000
commita1dfbbe79e188e6da8eff8a4c7eead4d9d5a3a09 (patch)
tree7d1f8c037988754845168cbed9ac41d30b2583f7
parent5c99ba9702a5a1e6e1d5b68e1e4e1cb2e3b96990 (diff)
fix(wpcarro/emacs): Use should macro in string.el tests r/4357
:)

Change-Id: Ic20b9c5c66465f2b28f58239a9e7d38dc19f2260
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6012
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
-rw-r--r--users/wpcarro/emacs/pkgs/string/tests.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/users/wpcarro/emacs/pkgs/string/tests.el b/users/wpcarro/emacs/pkgs/string/tests.el
index 92290c6db8..351e305466 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"))))