diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 2 | ||||
| -rw-r--r-- | test/lisp/textmodes/css-mode-tests.el | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 1bcd3a0f98b..41687e41c8d 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -3671,7 +3671,7 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." | |||
| 3671 | (format "%s=%d" envvar port) | 3671 | (format "%s=%d" envvar port) |
| 3672 | tramp-remote-process-environment))) | 3672 | tramp-remote-process-environment))) |
| 3673 | (should | 3673 | (should |
| 3674 | (string-equal | 3674 | (string-match |
| 3675 | (number-to-string port) | 3675 | (number-to-string port) |
| 3676 | (shell-command-to-string (format "echo -n $%s" envvar)))))) | 3676 | (shell-command-to-string (format "echo -n $%s" envvar)))))) |
| 3677 | 3677 | ||
diff --git a/test/lisp/textmodes/css-mode-tests.el b/test/lisp/textmodes/css-mode-tests.el index 47cf5f9244b..1e58751f140 100644 --- a/test/lisp/textmodes/css-mode-tests.el +++ b/test/lisp/textmodes/css-mode-tests.el | |||
| @@ -295,6 +295,12 @@ | |||
| 295 | (insert input ")")) | 295 | (insert input ")")) |
| 296 | (should (equal (css--hsl-color) "#ff0000"))))) | 296 | (should (equal (css--hsl-color) "#ff0000"))))) |
| 297 | 297 | ||
| 298 | (ert-deftest css-test-hex-color () | ||
| 299 | (should (equal (css--hex-color "#abc") "#abc")) | ||
| 300 | (should (equal (css--hex-color "#abcd") "#abc")) | ||
| 301 | (should (equal (css--hex-color "#aabbcc") "#aabbcc")) | ||
| 302 | (should (equal (css--hex-color "#aabbccdd") "#aabbcc"))) | ||
| 303 | |||
| 298 | (ert-deftest css-test-named-color () | 304 | (ert-deftest css-test-named-color () |
| 299 | (dolist (text '("@mixin black" "@include black")) | 305 | (dolist (text '("@mixin black" "@include black")) |
| 300 | (with-temp-buffer | 306 | (with-temp-buffer |