From 4871b4d3058cfb78786d5e12b4253a367a4b5992 Mon Sep 17 00:00:00 2001 From: Stig Brautaset Date: Sun, 28 Feb 2016 09:43:47 +0000 Subject: Fake definition lists --- test/ox-jira-test.el | 6 ++++++ test/ox-jira-test.org | 11 +++++++++++ 2 files changed, 17 insertions(+) (limited to 'test') 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 -- cgit v1.2.3