diff options
| author | deviantfero <fmorataya.04@gmail.com> | 2019-10-08 14:44:30 -0600 |
|---|---|---|
| committer | ninrod <filipe.silva@gmail.com> | 2019-10-13 13:56:24 -0300 |
| commit | d210e1fc2cf1c2d095471cefa700a0d1703f4ab6 (patch) | |
| tree | 18a9e5007f8d32843f8cb0e4f96c7e537590bdfc /test/evil-surround-test.el | |
| parent | 5ad01dfa86424c4b22cd1dfa375f13bd8c656f43 (diff) | |
main el file: add dots and caps to evil-surround-tag-name-re
tests: add tests for caps and dots support in tag names
Diffstat (limited to 'test/evil-surround-test.el')
| -rw-r--r-- | test/evil-surround-test.el | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/evil-surround-test.el b/test/evil-surround-test.el index 1beaae4..0ab98de 100644 --- a/test/evil-surround-test.el +++ b/test/evil-surround-test.el @@ -73,6 +73,22 @@ "Hello world!" ("ysiw<em>") "<em>Hello</em> world!")) + (ert-info ("tests for dots and caps support in tags") + (evil-test-buffer + :visual-start nil + :visual-end nil + "\"Hello world!\"" + (turn-on-evil-surround-mode) + ("cs\"'") + "'Hello world!'" + ("cs'<Table.Hi>") + "<Table.Hi>Hello world!</Table.Hi>" + ("dst") + "Hello world!" + ("ysiw<div.Test attr=\"true\">") + "<div.Test attr=\"true\">Hello</div.Test> world!" + ("cst<Three.Separate.Components>") + "<Three.Separate.Components>Hello</Three.Separate.Components> world!")) (ert-info ("more examples from readme: function surrounding with dot repeat") (evil-test-buffer :visual-start nil |
