[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master c675036 030/135: Added test for empty argument list
From: |
Ian Dunn |
Subject: |
[elpa] master c675036 030/135: Added test for empty argument list |
Date: |
Mon, 17 Feb 2020 10:52:47 -0500 (EST) |
branch: master
commit c675036b1aca5301350a7a0673ea09921b30e11b
Author: Ian D <address@hidden>
Commit: Ian D <address@hidden>
Added test for empty argument list
---
org-edna-tests.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/org-edna-tests.el b/org-edna-tests.el
index 0d2de3b..3444096 100644
--- a/org-edna-tests.el
+++ b/org-edna-tests.el
@@ -75,6 +75,14 @@
(should (not modifier2))
(should (= pos2 12)))))
+(ert-deftest org-edna-parse-form-empty-argument-list ()
+ (let ((input-string "test-string1()"))
+ (pcase-let* ((`(,token1 ,args1 ,modifier1 ,pos1) (org-edna-parse-form
input-string)))
+ (should (eq token1 'test-string1))
+ (should (not args1))
+ (should (not modifier1))
+ (should (= pos1 (length input-string))))))
+
(defconst org-edna-test-dir
(expand-file-name (file-name-directory (or load-file-name
buffer-file-name))))
- [elpa] master 029bc2e 012/135: Cleaned up condition handling, (continued)
- [elpa] master 029bc2e 012/135: Cleaned up condition handling, Ian Dunn, 2020/02/17
- [elpa] master 602ad6d 011/135: Added tests for org-bat-parse-form, Ian Dunn, 2020/02/17
- [elpa] master a70f9ac 016/135: Fixed bug in Makefile, Ian Dunn, 2020/02/17
- [elpa] master abb0083 018/135: Fixed up indenting, Ian Dunn, 2020/02/17
- [elpa] master cb1f51f 020/135: Don't assume arguments will be symbols or strings, Ian Dunn, 2020/02/17
- [elpa] master 180d05b 022/135: Added configuration option to use inheritance, Ian Dunn, 2020/02/17
- [elpa] master b38a1ca 024/135: Added tests for ids and match finders, Ian Dunn, 2020/02/17
- [elpa] master 30fc4cd 023/135: Created finders for compatibility with org-depend, Ian Dunn, 2020/02/17
- [elpa] master 9916819 028/135: Added test for parsing multiple forms, Ian Dunn, 2020/02/17
- [elpa] master fc0dcc1 029/135: Added re-search condition, Ian Dunn, 2020/02/17
- [elpa] master c675036 030/135: Added test for empty argument list,
Ian Dunn <=
- [elpa] master 7a3332d 032/135: Fixed error in re-search, Ian Dunn, 2020/02/17
- [elpa] master 6470c5f 033/135: Added test for todo action, Ian Dunn, 2020/02/17
- [elpa] master db23e3f 034/135: Added some more test headings, Ian Dunn, 2020/02/17
- [elpa] master aa259f0 037/135: Fix considerations, Ian Dunn, 2020/02/17
- [elpa] master f80835a 038/135: Added tests for considerations, Ian Dunn, 2020/02/17
- [elpa] master 729a391 040/135: Added copyright and licensing information to all files, Ian Dunn, 2020/02/17
- [elpa] master 7379c4f 043/135: Added copyright date to source files, Ian Dunn, 2020/02/17
- [elpa] master 8a21978 042/135: Fixed copyright notices, Ian Dunn, 2020/02/17
- [elpa] master 11aaa52 053/135: Added Savannah project link to documentation, Ian Dunn, 2020/02/17
- [elpa] master 34e4d86 054/135: Fixed variable-set condition, Ian Dunn, 2020/02/17