aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStig Brautaset <stig@brautaset.org>2016-02-28 09:16:00 +0000
committerStig Brautaset <stig@brautaset.org>2016-02-28 09:16:00 +0000
commitd28f752cfacf7bc22c34e17229f974537a67ec28 (patch)
treee1c3a81ac1f4fd03b23cce7c80599ddd5fbd4a8e /test
parent75b928135b7860c6558c15144524671558f2aed2 (diff)
Support sub- & superscript too, since it was very easy
Diffstat (limited to 'test')
-rw-r--r--test/ox-jira-test.el2
-rw-r--r--test/ox-jira-test.org2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/ox-jira-test.el b/test/ox-jira-test.el
index 5aab8da..4b7757e 100644
--- a/test/ox-jira-test.el
+++ b/test/ox-jira-test.el
@@ -33,6 +33,8 @@
(should (equal "this is *strong* text\n" (org-export-string-as "this is *strong* text" 'jira)))
(should (equal "this is _emphasised_ text\n" (org-export-string-as "this is /emphasised/ text" 'jira)))
(should (equal "this is +underlined+ text\n" (org-export-string-as "this is _underlined_ text" 'jira)))
+ (should (equal "this is super^scripted^ text\n" (org-export-string-as "this is super^scripted text" 'jira)))
+ (should (equal "this is sub~scripted~ text\n" (org-export-string-as "this is sub_scripted text" 'jira)))
(should (equal "this is -deleted- text\n" (org-export-string-as "this is +deleted+ text" 'jira)))
(should (equal "this is {{inline code}}\n" (org-export-string-as "this is ~inline code~" 'jira)))
(should (equal "this is {{verbatim}} text\n" (org-export-string-as "this is =verbatim= text" 'jira))))
diff --git a/test/ox-jira-test.org b/test/ox-jira-test.org
index 75272d7..9cb8a6b 100644
--- a/test/ox-jira-test.org
+++ b/test/ox-jira-test.org
@@ -91,6 +91,8 @@
(should (equal "this is *strong* text\n" (org-export-string-as "this is *strong* text" 'jira)))
(should (equal "this is _emphasised_ text\n" (org-export-string-as "this is /emphasised/ text" 'jira)))
(should (equal "this is +underlined+ text\n" (org-export-string-as "this is _underlined_ text" 'jira)))
+ (should (equal "this is super^scripted^ text\n" (org-export-string-as "this is super^scripted text" 'jira)))
+ (should (equal "this is sub~scripted~ text\n" (org-export-string-as "this is sub_scripted text" 'jira)))
(should (equal "this is -deleted- text\n" (org-export-string-as "this is +deleted+ text" 'jira)))
(should (equal "this is {{inline code}}\n" (org-export-string-as "this is ~inline code~" 'jira)))
(should (equal "this is {{verbatim}} text\n" (org-export-string-as "this is =verbatim= text" 'jira))))