aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ox-jira-test.el11
-rw-r--r--test/ox-jira-test.org17
2 files changed, 28 insertions, 0 deletions
diff --git a/test/ox-jira-test.el b/test/ox-jira-test.el
index 6c03e89..542c259 100644
--- a/test/ox-jira-test.el
+++ b/test/ox-jira-test.el
@@ -203,6 +203,17 @@ formatted
#+end_example
" 'jira))))
+(ert-deftest ox-jira-test/fixed-width-blocks ()
+ (should (equal "{noformat}
+stuff that should
+ not be
+formatted
+{noformat}
+" (org-export-string-as ": stuff that should
+: not be
+: formatted
+" 'jira))))
+
(ert-deftest ox-jira-test/footnotes ()
(should (equal "fi fo{anchor:backfn1}[^1^|#fn1]. Another one{anchor:backfn2}[^2^|#fn2].
diff --git a/test/ox-jira-test.org b/test/ox-jira-test.org
index 1d9fabf..779c355 100644
--- a/test/ox-jira-test.org
+++ b/test/ox-jira-test.org
@@ -327,6 +327,23 @@
" 'jira))))
#+END_SRC
+** Fixed-width
+
+ Fixed-width text is used for short log snippets etc.
+
+ #+BEGIN_SRC emacs-lisp
+ (ert-deftest ox-jira-test/fixed-width-blocks ()
+ (should (equal "{noformat}
+ stuff that should
+ not be
+ formatted
+ {noformat}
+ " (org-export-string-as ": stuff that should
+ : not be
+ : formatted
+ " 'jira))))
+ #+END_SRC
+
** Footnotes
#+BEGIN_SRC emacs-lisp