Sha256: 89de4db672746294100c38d1c854e602f352c98446342123dc8eb37902d162ff

Contents?: true

Size: 364 Bytes

Versions: 2

Compression:

Stored size: 364 Bytes

Contents

Dir["/dev_exclusions/dtext_bench/wiki_pages/*.txt"].sort.slice(20, 10).each do |file|
  input = File.read(file)
  o1 = DTextRagel.parse(input.dup).gsub(/\s+<\/p>/, "</p>")
  o2 = DTextRuby.parse(input.dup).gsub(/\r/, "").gsub(/\s+<\/p>/, "</p>")
  if o1.size != o2.size
    puts input
    puts "---"
    puts o1
    puts "~~~"
    puts o2
    puts "==="
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dtext_rb-1.0.4 test/test_wiki_pages.rb
dtext_rb-1.0.3 test/test_wiki_pages.rb