Browse Source

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

feat/pandoc-test-fix
pull/123/merge
Carlos Fenollosa 5 years ago
committed by GitHub
parent
commit
89780c3108
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      bb.sh

+ 4
- 1
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>' ]]
)
}


Loading…
Cancel
Save