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 <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
5c99ba9702
commit
a1dfbbe79e
1 changed files with 4 additions and 4 deletions
|
@ -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"))))
|
||||
|
|
Loading…
Reference in a new issue