diff options
| author | Stig Brautaset <stig@brautaset.org> | 2016-02-25 22:57:49 +0000 |
|---|---|---|
| committer | Stig Brautaset <stig@brautaset.org> | 2016-02-25 22:57:49 +0000 |
| commit | 82b0c50dde7a8fa2133d36c3d23ea11893462932 (patch) | |
| tree | 046b52433135939d6b3d44f1c8ea0ae14aa5658c /test | |
| parent | 4a7d9d2aaac3801e6cfc751d8f88ec18d283dbbe (diff) | |
Remove soft linebreaks so paragraphs render properly in JIRA
Diffstat (limited to 'test')
| -rw-r--r-- | test/ox-jira-test.el | 7 | ||||
| -rw-r--r-- | test/ox-jira-test.org | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/test/ox-jira-test.el b/test/ox-jira-test.el index f3f8717..5e1b83f 100644 --- a/test/ox-jira-test.el +++ b/test/ox-jira-test.el @@ -1,3 +1,4 @@ + ;;; ox-jira-test.el --- tests for ox-jira.el ;;; Author: Stig Brautaset <stig@brautaset.org> @@ -69,6 +70,12 @@ h3. third level ** second level *** third level" 'jira)))) +(ert-deftest ox-jira-test/paragraphs () + (should (equal "fi fo fa fum\n" (org-export-string-as "fi +,fo +,fa +,fum" 'jira)))) + (provide 'ox-jira-test) ;;; ox-jira.el-test.el ends here diff --git a/test/ox-jira-test.org b/test/ox-jira-test.org index a97d24e..1694a01 100644 --- a/test/ox-jira-test.org +++ b/test/ox-jira-test.org @@ -138,6 +138,18 @@ ,*** third level" 'jira)))) #+END_SRC +** Paragraphs + + Check that text in paragraphs does not have hard newlines. + + #+BEGIN_SRC emacs-lisp + (ert-deftest ox-jira-test/paragraphs () + (should (equal "fi fo fa fum\n" (org-export-string-as "fi + ,fo + ,fa + ,fum" 'jira)))) + #+END_SRC + ** Provide Announce that =ox-jira-test= is a feature of the current Emacs. |
