Merge pull request #124 from thalios1973/feat/pandoc-test-fix

feat/pandoc-test-fix
This commit is contained in:
Carlos Fenollosa 2017-01-03 17:11:04 +01:00 committed by GitHub
commit 89780c3108

5
bb.sh
View file

@ -174,7 +174,10 @@ global_variables_check() {
# Test if the markdown script is working correctly
test_markdown() {
[[ -n $markdown_bin ]] &&
[[ $("$markdown_bin" <<< $'line 1\n\nline 2') == $'<p>line 1</p>\n\n<p>line 2</p>' ]]
(
[[ $("$markdown_bin" <<< $'line 1\n\nline 2') == $'<p>line 1</p>\n\n<p>line 2</p>' ]] ||
[[ $("$markdown_bin" <<< $'line 1\n\nline 2') == $'<p>line 1</p>\n<p>line 2</p>' ]]
)
}