Sha256: d652cfbc3ff40cabd185bcb5c86648156d7abf143a8b4aed02008bff78c1877b

Contents?: true

Size: 310 Bytes

Versions: 4

Compression:

Stored size: 310 Bytes

Contents

require 'test_helper'

class LexerTest < Test::Unit::TestCase
  # setup for test
  def setup
  end

  def test_is_section_heading
    assert Asciidoctor::Lexer.is_section_heading?("AsciiDoc Home Page", "==================")
    assert Asciidoctor::Lexer.is_section_heading?("=== AsciiDoc Home Page")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
asciidoctor-0.0.5 test/lexer_test.rb
asciidoctor-0.0.4 test/lexer_test.rb
asciidoctor-0.0.3 test/lexer_test.rb
asciidoctor-0.0.2 test/lexer_test.rb