Module | HTML5::TestSupport |
In: |
lib/feed_tools/vendor/html5/tests/preamble.rb
|
convert the output of str(document) to the format used in the testcases
# File lib/feed_tools/vendor/html5/tests/preamble.rb, line 27 27: def convertTreeDump(treedump) 28: treedump.split(/\n/)[1..-1].map { |line| (line.length > 2 and line[0] == ?|) ? line[3..-1] : line }.join("\n") 29: end