[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/macrostep 3f815fb 031/110: Test for normal defmacro expans
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/macrostep 3f815fb 031/110: Test for normal defmacro expansion |
Date: |
Sat, 7 Aug 2021 09:17:56 -0400 (EDT) |
branch: elpa/macrostep
commit 3f815fb51ae63f89aa06be349b64222e6badd379
Author: joddie <jonxfield@gmail.com>
Commit: joddie <jonxfield@gmail.com>
Test for normal defmacro expansion
---
macrostep-test.el | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/macrostep-test.el b/macrostep-test.el
index 03cd923..70d3777 100644
--- a/macrostep-test.el
+++ b/macrostep-test.el
@@ -44,6 +44,19 @@
,expansion)))
(macrostep-collapse-all)))))
+(ert-deftest macrostep-expand-defmacro ()
+ (defmacro macrostep-dummy-macro (&rest args)
+ `(expansion of ,@args))
+ (macrostep-with-text
+ '(progn
+ (first body form)
+ (second body form)
+ (macrostep-dummy-macro (first (argument)) second (third argument))
+ (remaining body forms))
+ (macrostep-should-expand
+ '(macrostep-dummy-macro (first (argument)) second (third argument))
+ '(expansion of (first (argument)) second (third argument)))))
+
(ert-deftest macrostep-expand-macrolet ()
(macrostep-with-text
'(macrolet
- [nongnu] elpa/macrostep 2473a6f 094/110: Pass START and END args to sexp-at-point-function, (continued)
- [nongnu] elpa/macrostep 2473a6f 094/110: Pass START and END args to sexp-at-point-function, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 03d4d7b 096/110: Add basic C macro expansion via cmacexp.el, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 9a6b04a 100/110: Restore Emacs 23 compatibility, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep d48e52b 101/110: Add tests for compiler-macro expansion, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep aa59895 103/110: Add .travis.yml, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 7b2c1f3 108/110: Load all autoloaded macros, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 4d75baf 003/110: Bump version number, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 8a85acc 022/110: Refactor backquote handling and text properties., ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 2d216ba 109/110: Merge pull request #19 from fice-t/autoload, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 83b2a0a 015/110: Tweak visible highlight, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 3f815fb 031/110: Test for normal defmacro expansion,
ELPA Syncer <=
- [nongnu] elpa/macrostep 9d2c58c 040/110: Add option to expand in a separate buffer, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 3f965b0 048/110: Use new `macrostep-macro-start` text property, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep ff3888f 065/110: Use a form-tracking stream rather than gensym substitution, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 0fd292c 006/110: Better README, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 0db08ec 007/110: add Url: header for marmalade, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep aa4736c 067/110: Fix some silly errors, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 0b1c0fe 069/110: Add swank/gray:stream-read-char-no-hang implementation, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 704f164 091/110: Merge branch 'generic', ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep bf87b7c 095/110: Whitespace cleanup, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep d1e954d 099/110: Attempt to shell out to "indent" in macrostep-c, ELPA Syncer, 2021/08/07