[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-surround 6ed0750414 107/175: Add examples from readme
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-surround 6ed0750414 107/175: Add examples from readme as automated tests |
Date: |
Mon, 9 Oct 2023 13:01:07 -0400 (EDT) |
branch: elpa/evil-surround
commit 6ed075041403b8abb7672d258dcb12600d20880e
Author: Evgeni Kolev <evgenysw@gmail.com>
Commit: Evgeni Kolev <evgenysw@gmail.com>
Add examples from readme as automated tests
---
test/evil-surround-test.el | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/test/evil-surround-test.el b/test/evil-surround-test.el
index bbfe45a47f..240ec7a557 100644
--- a/test/evil-surround-test.el
+++ b/test/evil-surround-test.el
@@ -14,4 +14,28 @@
("csb'")
"one 'two' three"
("ds'")
- "one two three")))
+ "one two three"))
+ (ert-info ("examples from readme")
+ (evil-test-buffer
+ :visual-start nil
+ :visual-end nil
+ "\"Hello world!\""
+ (turn-on-evil-surround-mode)
+ ("cs\"'")
+ "'Hello world!'"
+ ("cs'<q>")
+ "<q>Hello world!</q>"
+ ("cst\"")
+ "\"Hello world!\""
+ ("ds\"")
+ "Hello world!"
+ ("ysiw]")
+ "[Hello] world!"
+ ("cs[{")
+ "{ Hello } world!"
+ ("yssb")
+ "({ Hello } world!)"
+ ("lds{ds)") ;; 'l' to move the cursor right, inside brackets
+ "Hello world!"
+ ("ysiw<em>")
+ "<em>Hello</em> world!")))
- [nongnu] elpa/evil-surround 0a61b55d1b 081/175: Move the Keywords after the Mailing list header, (continued)
- [nongnu] elpa/evil-surround 0a61b55d1b 081/175: Move the Keywords after the Mailing list header, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 4e739e8ec8 106/175: Merge pull request #118 from edkolev/use-evil-test-helpers, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 27dc66d5d8 093/175: closes #91: evil-surround-pairs-alist typo, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 966dc25c96 076/175: Add missing evil package dependency, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 5a45da3d71 101/175: add melpa badge, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround b41116a613 087/175: Point to new repository for Evil, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround fe6351b8fe 094/175: Fix defcustom type specification for pairs-alist variable, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 5ea0a9ae5a 108/175: Remove debug messages, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 9b3986432e 100/175: fix travis badge, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 2343fe5497 105/175: Use `evil-test-helpers` for testing, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 6ed0750414 107/175: Add examples from readme as automated tests,
ELPA Syncer <=
- [nongnu] elpa/evil-surround 1d4e72a178 099/175: closes #98: orgify readme, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 92299c2e5c 112/175: upgrade badges. add GPLv3 badge., ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 9967e5f4e4 118/175: fix typo, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 5a8b3eac2c 114/175: update logo, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 757ddb93c7 122/175: add tests for @jusbur's pull #130 which fixes #125, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround a14856cd81 157/175: Bump version to 1.0.4, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 5a20c9757e 126/175: surround-function improvement for lisp modes (#134), ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 62255a9901 123/175: Fix regression for Emacs 26 caused by #125 fix, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 6e1da767ec 125/175: try same layout layout as evil, ELPA Syncer, 2023/10/09
- [nongnu] elpa/evil-surround 63ce018488 132/175: add license file, ELPA Syncer, 2023/10/09