aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Dalziel <tom_dl@hotmail.com>2024-04-16 12:15:05 +0200
committerTom Dalziel <tom_dl@hotmail.com>2024-04-16 12:15:05 +0200
commit95be93cea7c20311f1ad83c09def850923ffe4f3 (patch)
treeb69a2c1e58dc6a75adf74be86a92f9af16599479
parenteae05b5a1b2de6fe2d262a9fc0fd24e46bebc2c8 (diff)
TIL should-not exists
-rw-r--r--evil-tests.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/evil-tests.el b/evil-tests.el
index 42ad06c..ca4f4c5 100644
--- a/evil-tests.el
+++ b/evil-tests.el
@@ -2170,7 +2170,7 @@ ine3 line3 line3 l\n"))
(ert-info ("Deletion in normal state leaves point in the right place")
(evil-test-buffer
"alpha b[r]avo charlie\ndelta echo foxtrot\ngolf hotel india"
- (should (not evil-start-of-line))
+ (should-not evil-start-of-line)
("D")
"alpha [b]\ndelta echo foxtrot\ngolf hotel india"
("/echo" [return] "C" "newtext" [escape])
@@ -2185,7 +2185,7 @@ ine3 line3 line3 l\n"))
(ert-info ("Line deletion in visual state leaves point in the right place")
(evil-test-buffer
"alpha [b]ravo charlie\ndelta echo foxtrot\ngolf hotel india"
- (should (not evil-start-of-line))
+ (should-not evil-start-of-line)
("vD")
"delta [e]cho foxtrot\ngolf hotel india"
("vX")
@@ -3527,7 +3527,7 @@ Below some empty line"
("gjj")
(should (= (current-column) 1))
("Gkgk")
- (should (not (bolp)))))
+ (should-not (bolp))))
(ert-deftest evil-test-end-of-visual-line ()
"Test `evil-end-of-visual-line'."
@@ -9646,14 +9646,14 @@ parameter set."
(evil-with-temp-file file-name ""
(evil-test-buffer
(vconcat "i" file-name [escape])
- (should (not (equal file-name (buffer-file-name))))
+ (should-not (equal file-name (buffer-file-name)))
("gf")
(should (equal file-name (buffer-file-name))))))
(ert-info ("Find file at point (visual state)")
(evil-with-temp-file file-name ""
(evil-test-buffer
(vconcat "iuser@localhost:" file-name "$" [escape])
- (should (not (equal file-name (buffer-file-name))))
+ (should-not (equal file-name (buffer-file-name)))
("0f:lvt$gf")
(should (equal file-name (buffer-file-name))))))
(ert-info ("Find file at point with line number")