summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2017-04-23 13:54:21 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2017-04-23 18:43:26 +0200
commit9aa4203c7efd5ef1015eb32eca5e0764a5afe183 (patch)
tree8401005b860541ea8f4be94e7b58d7d0eb808eac /test
parent016b40f99d679f0787f7c8a5f61f4a411b6c3632 (diff)
downloadaur-9aa4203c7efd5ef1015eb32eca5e0764a5afe183.tar.gz
aur-9aa4203c7efd5ef1015eb32eca5e0764a5afe183.tar.xz
Add Markdown support to package comments
Support Markdown syntax in package comments. Among other things, this makes it easier to paste command line output and patches. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'test')
-rwxr-xr-xtest/t2600-rendercomment.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/t2600-rendercomment.sh b/test/t2600-rendercomment.sh
index 8d79336d..50a5adb9 100755
--- a/test/t2600-rendercomment.sh
+++ b/test/t2600-rendercomment.sh
@@ -11,7 +11,8 @@ test_expect_success 'Test comment rendering.' '
EOD
"$RENDERCOMMENT" 1 &&
cat <<-EOD >expected &&
- Hello world!<br>This is a comment.
+ <p>Hello world!<br>
+ This is a comment.</p>
EOD
cat <<-EOD | sqlite3 aur.db >actual &&
SELECT RenderedComment FROM PackageComments WHERE ID = 1;