diff options
| author | Tom Dalziel <tom_dl@hotmail.com> | 2022-04-24 23:07:01 +0100 |
|---|---|---|
| committer | Tom Dalziel <33435574+tomdl89@users.noreply.github.com> | 2022-04-25 00:28:05 +0200 |
| commit | f75732de0ca5cae70f17dbc4bf7df03cb4ec491f (patch) | |
| tree | a47311e6decdd44f92749b60d2327ccad6bec4ad /evil-tests.el | |
| parent | 48404a336850a20ed093fcf78539037c17386235 (diff) | |
Add `evil-word-object` & `evil-WORD-object` which stay on line
Fixes #834
Diffstat (limited to 'evil-tests.el')
| -rw-r--r-- | evil-tests.el | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/evil-tests.el b/evil-tests.el index b1ea72f..5b728e9 100644 --- a/evil-tests.el +++ b/evil-tests.el @@ -5936,7 +5936,16 @@ Line 2")) (evil-test-buffer "([a])" ("viw") - "(<[a]>)"))) + "(<[a]>)")) + (ert-info ("Deleting whitespace is confined to the line") + (evil-test-buffer + "foo\n [ ] bar" + ("diw") + "foo\n[b]ar") + (evil-test-buffer + "foo\n [ ] bar" + ("diW") + "foo\n[b]ar"))) (ert-deftest evil-test-word-objects-cjk () "Test `evil-inner-word' and `evil-a-word' on CJK words" |
