diff options
| author | Stig Brautaset <stig@brautaset.org> | 2016-02-26 08:26:51 +0000 |
|---|---|---|
| committer | Stig Brautaset <stig@brautaset.org> | 2016-02-26 08:26:51 +0000 |
| commit | ff66e33ca80cbedd8f2ce92e6f3026c370262747 (patch) | |
| tree | 7500486f4bf1578c59469890d61e0c0850e379c0 /test | |
| parent | cbd6b317980a63cdac8124499bab29dee8f0b0ae (diff) | |
Add support for simple checkboxes
Diffstat (limited to 'test')
| -rw-r--r-- | test/ox-jira-test.el | 6 | ||||
| -rw-r--r-- | test/ox-jira-test.org | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/test/ox-jira-test.el b/test/ox-jira-test.el index a8d250a..0accb67 100644 --- a/test/ox-jira-test.el +++ b/test/ox-jira-test.el @@ -96,6 +96,12 @@ h3. third level 3. fa 3. fum" 'jira)))) +(ert-deftest ox-jira-test/unordered-list-with-checkboxes() + (should (equal "- {{[ ]}} fi +- {{[X]}} fo +" (org-export-string-as "- [ ] fi +- [X] fo" 'jira)))) + (ert-deftest ox-jira-test/src-blocks () (should (equal "{code:sh} echo hello diff --git a/test/ox-jira-test.org b/test/ox-jira-test.org index f54f7c2..9d54f41 100644 --- a/test/ox-jira-test.org +++ b/test/ox-jira-test.org @@ -176,6 +176,16 @@ 3. fum" 'jira)))) #+END_SRC + Right! That was simple enough. Let's add some checkboxes. + + #+BEGIN_SRC emacs-lisp + (ert-deftest ox-jira-test/unordered-list-with-checkboxes() + (should (equal "- {{[ ]}} fi + - {{[X]}} fo + " (org-export-string-as "- [ ] fi + - [X] fo" 'jira)))) + #+END_SRC + ** Source code I use Org mode for literate programming, and executable lab notes, so we |
