Skip to content

Commit

Permalink
fix travis for rouge 1.11 (#6161)
Browse files Browse the repository at this point in the history
- make sure rouge 1.11 tests are executed with ruby 2.4

- remove additional newline from test
  • Loading branch information
Crunch09 authored and parkr committed Jun 20, 2017
1 parent af847f0 commit 530d800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rvm:

matrix:
include:
- rvm:
- rvm: *ruby1
env: TEST_SUITE=test ROUGE=1.11.1
- rvm: *ruby1
env: TEST_SUITE=fmt
Expand Down
2 changes: 1 addition & 1 deletion test/test_tags.rb
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def highlight_block_with_opts(options_string)
skip "Skipped because using a newer version of Rouge" unless Utils::Rouge.old_api?
expected = <<-EOS
<p>This is not yet highlighted</p>\n
<figure class="highlight"><pre><code class="language-php" data-lang="php"><table style="border-spacing: 0"><tbody><tr><td class="gutter gl" style="text-align: right"><pre class="lineno">1</pre></td><td class="code"><pre>test<span class="w">\n
<figure class="highlight"><pre><code class="language-php" data-lang="php"><table style="border-spacing: 0"><tbody><tr><td class="gutter gl" style="text-align: right"><pre class="lineno">1</pre></td><td class="code"><pre>test<span class="w">
</span></pre></td></tr></tbody></table></code></pre></figure>\n
<p>This should not be highlighted, right?</p>
EOS
Expand Down

0 comments on commit 530d800

Please sign in to comment.