Sha256: 7ef02f6345dcdb34db1c5a8e3bc5d908aeabd6f8afe230884adc6c6cc30ad54d
Contents?: true
Size: 1.81 KB
Versions: 1
Compression:
Stored size: 1.81 KB
Contents
# -*- coding: utf-8 -*- require 'minitest/spec' module Let extend Minitest::Spec::DSL let(:markdown_input_as_string){ <<~XXX # Example * [](#) ## Alpha Lorem ipsum ### Bravo Lorem ipsum #### Charlie Lorem ipsum ## Delta Lorem ipsum ### Echo Lorem ipsum #### Foxtrot Lorem ipsum XXX } let(:markdown_input_pre_match_as_string){ <<~XXX # Example XXX } let(:markdown_input_toc_as_string){ <<~XXX * [](#) XXX } let(:markdown_input_post_match_as_string){ <<~XXX ## Alpha Lorem ipsum ### Bravo Lorem ipsum #### Charlie Lorem ipsum ## Delta Lorem ipsum ### Echo Lorem ipsum #### Foxtrot Lorem ipsum XXX } let(:markdown_output_as_string){ <<~XXX # Example * [Alpha](#alpha) * [Bravo](#bravo) * [Charlie](#charlie) * [Delta](#delta) * [Echo](#echo) * [Foxtrot](#foxtrot) ## Alpha Lorem ipsum ### Bravo Lorem ipsum #### Charlie Lorem ipsum ## Delta Lorem ipsum ### Echo Lorem ipsum #### Foxtrot Lorem ipsum XXX } let(:markdown_output_toc_as_string){ <<~XXX * [Alpha](#alpha) * [Bravo](#bravo) * [Charlie](#charlie) * [Delta](#delta) * [Echo](#echo) * [Foxtrot](#foxtrot) XXX } let(:markdown_input_as_markdown_string){ Markdown::String.new(markdown_input_as_string) } let(:markdown_input_toc_as_markdown_string){ Markdown::String.new(markdown_input_toc_as_string) } let(:markdown_output_as_markdown_string){ Markdown::String.new(markdown_output_as_string) } let(:markdown_output_toc_as_markdown_string){ Markdown::String.new(markdown_output_toc_as_string) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sixarm_ruby_markdown_table_of_contents-2.1.0 | test/support/let.rb |