diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/ox-jira-test.el | 4 | ||||
| -rw-r--r-- | test/ox-jira-test.org | 11 |
2 files changed, 14 insertions, 1 deletions
diff --git a/test/ox-jira-test.el b/test/ox-jira-test.el index 236915e..455a605 100644 --- a/test/ox-jira-test.el +++ b/test/ox-jira-test.el @@ -142,6 +142,10 @@ fum" 'jira)))) " (org-export-string-as "- fi :: fo - fa :: fum" 'jira)))) +(ert-deftest ox-jira-test/plain-text () + (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 c0c5400..47595e6 100644 --- a/test/ox-jira-test.org +++ b/test/ox-jira-test.org @@ -255,6 +255,16 @@ - fa :: fum" 'jira)))) #+END_SRC +** Plain text + + Check that certain characters are escaped. + + #+BEGIN_SRC emacs-lisp + (ert-deftest ox-jira-test/plain-text () + (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 @@ -312,7 +322,6 @@ " 'jira)))) #+END_SRC - ** Examples I use example blocks for log & config file snippets, and output from |
