[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-surround 5ad01dfa86 139/175: optionally keep xml attr
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-surround 5ad01dfa86 139/175: optionally keep xml attrs: add more tests |
Date: |
Mon, 9 Oct 2023 13:01:10 -0400 (EDT) |
branch: elpa/evil-surround
commit 5ad01dfa86424c4b22cd1dfa375f13bd8c656f43
Author: ninrod <filipe.silva@gmail.com>
Commit: ninrod <filipe.silva@gmail.com>
optionally keep xml attrs: add more tests
---
test/evil-surround-test.el | 28 +++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/test/evil-surround-test.el b/test/evil-surround-test.el
index c70f1813ad..1beaae4134 100644
--- a/test/evil-surround-test.el
+++ b/test/evil-surround-test.el
@@ -103,6 +103,16 @@
"<span class=\"foo\">Bar</span>"
("cst<p>")
"<p>Bar</p>"))
+ (ert-info ("optionally keep xml attributes: more complicated cases")
+ (evil-test-buffer
+ :visual-start nil
+ :visual-end nil
+ "<div ngModel class=\"foo\" randomAngularDirective #anchor1>Bar</div>"
+ (turn-on-evil-surround-mode)
+ ("cst<span")
+ "<span ngModel class=\"foo\" randomAngularDirective #anchor1>Bar</span>"
+ ("cst<p>")
+ "<p>Bar</p>"))
(ert-info ("repeat surrounding")
(evil-test-buffer
"[o]ne two three"
@@ -206,14 +216,14 @@
))
(ert-info ("buffer is widened before reading char")
(test-widened-buffer
- "`[w]ord`"
- ("cs`)")
- "[(]word)")
+ "`[w]ord`"
+ ("cs`)")
+ "[(]word)")
(test-widened-buffer
- "`[w]ord`"
- ("ds`")
- "[w]ord")
+ "`[w]ord`"
+ ("ds`")
+ "[w]ord")
(test-widened-buffer
- "[w]ord"
- ("ysiwb")
- "[(]word)")))
+ "[w]ord"
+ ("ysiwb")
+ "[(]word)")))
- [nongnu] elpa/evil-surround 78eddc8077 063/175: Merge pull request #50 from yangguang760/master, (continued)
- [nongnu] elpa/evil-surround 78eddc8077 063/175: Merge pull request #50 from yangguang760/master, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 06071c3425 060/175: let* => let, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround a70e34164e 069/175: Don't indent first line on inline linewise surround, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 5c07befaf7 090/175: Merge pull request #89 from LemmingAvalanche/execute-permissions, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 7a0358ce3e 095/175: update readme, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround a4fc4483df 103/175: add credits to Tim C. Harper, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround cb4f0be9b4 119/175: add backquote delimiter test, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 822a0f61c3 111/175: Make `ysw` work like `cw`, not `ce`, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 68f7033322 138/175: optionally keep xml attributes, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 31b895f1e1 128/175: fix #143: add readme entry on how to add new pairs through evil, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 5ad01dfa86 139/175: optionally keep xml attrs: add more tests,
ELPA Syncer <=
- [nongnu] elpa/evil-surround b670e5f338 143/175: Checking minibuffer window doesn't seem to make a difference either, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround f6162a7b5a 117/175: closes #112, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 4fbe6bf9ca 161/175: Limit global activation to text-, prog- and comint-mode, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 0d860be741 174/175: Fix get-delims to allow functions as values, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 648da3c544 159/175: Merge pull request #190 from MintSoup/master, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 0f629b8f9c 133/175: tweak implementation file header, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround c96499e91e 030/175: Extract surround-operator-alist to a customizeable variable, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround bd3909bc3e 152/175: update make emacs, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 271e22db17 001/175: Initial commit, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround fac48838ea 043/175: fixed inconsistency with vim-surround. fixes #47 and #26., ELPA Syncer, 2023/10/09