aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStig Brautaset <stig@brautaset.org>2016-04-21 09:17:40 +0100
committerStig Brautaset <stig@brautaset.org>2016-04-21 09:17:40 +0100
commit8e392768fd9add5ded81680456de5ea5cc98a779 (patch)
treeb8c72ecdc1ed123da8736b632f745f63b34cb854 /test
parent3ffea8e91150891e0abed30e392d753a54ad0eb5 (diff)
Remove post-blank after item elements
This means that Orgmode lists like this: - fi - fo - fa Exports to Jira: * fi * fo * fa which means it stays one list, rather than multiple. Fixes #17 Credit: http://thread.gmane.org/gmane.emacs.orgmode/106478/focus=106480
Diffstat (limited to 'test')
-rw-r--r--test/ox-jira-test.org25
1 files changed, 20 insertions, 5 deletions
diff --git a/test/ox-jira-test.org b/test/ox-jira-test.org
index cbfaef8..af9c12e 100644
--- a/test/ox-jira-test.org
+++ b/test/ox-jira-test.org
@@ -255,12 +255,27 @@
#+BEGIN_SRC emacs-lisp
(ert-deftest ox-jira-test/multi-para-list-items()
(should (equal "# fi
-fo
-# fa
-" (org-export-string-as "1. fi
+ fo
+ # fa
+ " (org-export-string-as "1. fi
+
+ fo
+ 2. fa" 'jira)))
+ (should (equal "# fi
+ #* fifi
+ #* fofo
+ # fa
+ # fum
+ " (org-export-string-as "1. fi
+
+ ,* fifi
+
+ ,* fofo
+
+ 2. fa
- fo
-2. fa" 'jira))))
+ 3. fum" 'jira)))
+ )
#+END_SRC
** Plain text