diff options
| author | Stig Brautaset <stig@brautaset.org> | 2016-02-28 09:43:47 +0000 |
|---|---|---|
| committer | Stig Brautaset <stig@brautaset.org> | 2016-02-28 09:43:47 +0000 |
| commit | 4871b4d3058cfb78786d5e12b4253a367a4b5992 (patch) | |
| tree | 27dfe7bcf7d84cfdfc388a80a7957e2fca9f9450 /test | |
| parent | d28f752cfacf7bc22c34e17229f974537a67ec28 (diff) | |
Fake definition lists
Diffstat (limited to 'test')
| -rw-r--r-- | test/ox-jira-test.el | 6 | ||||
| -rw-r--r-- | test/ox-jira-test.org | 11 |
2 files changed, 17 insertions, 0 deletions
diff --git a/test/ox-jira-test.el b/test/ox-jira-test.el index 4b7757e..c0e6d53 100644 --- a/test/ox-jira-test.el +++ b/test/ox-jira-test.el @@ -137,6 +137,12 @@ fum" 'jira)))) - [ ] fi - [X] fo" 'jira)))) +(ert-deftest ox-jira-test/definition-lists() + (should (equal "* *fi*: fo +* *fa*: fum +" (org-export-string-as "- fi :: fo +- fa :: fum" 'jira)))) + (ert-deftest ox-jira-test/src-blocks () (should (equal "{code:none} echo hello diff --git a/test/ox-jira-test.org b/test/ox-jira-test.org index 9cb8a6b..ecd7228 100644 --- a/test/ox-jira-test.org +++ b/test/ox-jira-test.org @@ -243,6 +243,17 @@ - [X] fo" 'jira)))) #+END_SRC + Definition lists are not directly supported by JIRA markup, but let's fake + it with a bullet list & some bold text. + + #+BEGIN_SRC emacs-lisp + (ert-deftest ox-jira-test/definition-lists() + (should (equal "* *fi*: fo + ,* *fa*: fum + " (org-export-string-as "- fi :: fo + - fa :: fum" 'jira)))) + #+END_SRC + ** Source code I use Org mode for literate programming, and executable lab notes, so we |
