Sha256: 0e8d46c498a92cc180353113c553d5d820ce0fce010c573250ac5576998d14c5

Contents?: true

Size: 606 Bytes

Versions: 21

Compression:

Stored size: 606 Bytes

Contents

require File.dirname(__FILE__) + '/helper'

class TestTags < Test::Unit::TestCase
  
  def setup
    @content = <<CONTENT
---
layout: post
title: This is a test

---
This document results in a markdown error with maruku
{% highlight ruby %}
puts "hi"

puts "bye"
{% endhighlight %}

CONTENT
  end  
  
  def test_markdown_with_pygments_line_handling
    Jekyll.pygments = true
    Jekyll.content_type = :markdown
    
    result = Liquid::Template.parse(@content).render({}, [Jekyll::Filters])
    result = Jekyll.markdown_proc.call(result)
    assert_no_match(/markdown\-html\-error/,result)
  end
  
end

Version data entries

21 entries across 21 versions & 11 rubygems

Version Path
calavera-jekyll-0.4.1 test/test_tags.rb
codeslinger-jekyll-0.3.0 test/test_tags.rb
codeslinger-jekyll-0.4.1 test/test_tags.rb
danski-jekyll-0.4.1 test/test_tags.rb
dysinger-jekyll-0.4.0 test/test_tags.rb
elq-jekyll-0.4.2 test/test_tags.rb
matflores-jekyll-0.4.1.1 test/test_tags.rb
matflores-jekyll-0.4.1 test/test_tags.rb
matflores-jekyll-0.4.2 test/test_tags.rb
matflores-jekyll-0.4.3 test/test_tags.rb
mattmatt-jekyll-0.4.0 test/test_tags.rb
mattmatt-jekyll-0.4.1 test/test_tags.rb
mattmatt-jekyll-0.4.3 test/test_tags.rb
mattmatt-jekyll-0.4.4 test/test_tags.rb
mattmatt-jekyll-0.4.5 test/test_tags.rb
mojombo-jekyll-0.4.0 test/test_tags.rb
mojombo-jekyll-0.4.1 test/test_tags.rb
qrush-jekyll-0.4.0 test/test_tags.rb
qrush-jekyll-0.4.1 test/test_tags.rb
sixones-jekyll-0.4.1 test/test_tags.rb