branch: externals/compat
commit 3ee973db10e7c52fe4d2dbcc871725162d7f0b3c
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
Test prefixed function call
---
compat-tests.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/compat-tests.el b/compat-tests.el
index c4ebd8c031..aaa36bb825 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -69,6 +69,7 @@
(should (equal t (always 1 2 3 4)))) ;; multiple arguments
(ert-deftest string-width ()
+ (should (equal 0 (compat-string-width ""))) ;;
Obsolete
(should (equal 0 (compat-call string-width "")))
(should (equal 3 (compat-call string-width "abc"))) ;; no
argument
(should (equal 5 (compat-call string-width "abcあ")))