You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
/Users/ujihisa/git/ruby192/local/bin/ruby test/markdown_test.rb
(in /Users/ujihisa/git/rpeg-markdown)
Loaded suite test/markdown_test
Started
...........................................F......
Finished in 0.059146 seconds.
Failure:
test_that_extension_methods_are_present_on_markdown_class(MarkdownTest) [test/markdown_test.rb:11]:
Markdown class should respond to #to_html
Closes Issue rtomayko#3.
Previously, certain kinds of input (e.g. Emphasis.txt from the
MDTest package) would send peg-markdown into a morass of backtracking
in parsing a Setext header (which begins with a list of Inlines).
We now check to make sure the text has the shape of a setext header
before parsing any Inlines.
This yields large performance gains across the board!
Many thanks to knieriem for pointing out the problem and suggesting a
(somewhat different) fix.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
/Users/ujihisa/git/ruby192/local/bin/ruby test/markdown_test.rb
(in /Users/ujihisa/git/rpeg-markdown)
Loaded suite test/markdown_test
Started
...........................................F......
Finished in 0.059146 seconds.
test_that_extension_methods_are_present_on_markdown_class(MarkdownTest) [test/markdown_test.rb:11]:
Markdown class should respond to #to_html
50 tests, 62 assertions, 1 failures, 0 errors, 0 skips
Test run options: --seed 26628
'rake aborted!
Command failed with status (1): [/Users/ujihisa/git/ruby192/local/bin/ruby ...]
/Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:993:in
block in sh' /Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:1008:in
call'/Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:1008:in
sh' /Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:1092:in
sh'/Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:1027:in
ruby' /Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:1092:in
ruby'/Users/ujihisa/git/rpeg-markdown/Rakefile:99:in
block in <top (required)>' /Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:632:in
call'/Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:632:in
block in execute' /Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:629:in
each'/Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:629:in
execute' /Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:595:in
block in invoke_with_call_chain'/Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/monitor.rb:201:in
mon_synchronize' /Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:588:in
invoke_with_call_chain'/Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:605:in
block in invoke_prerequisites' /Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:602:in
each'/Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:602:in
invoke_prerequisites' /Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:594:in
block in invoke_with_call_chain'/Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/monitor.rb:201:in
mon_synchronize' /Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:588:in
invoke_with_call_chain'/Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:581:in
invoke' /Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:2041:in
invoke_task'/Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:2019:in
block (2 levels) in top_level' /Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:2019:in
each'/Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:2019:in
block in top_level' /Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:2058:in
standard_exception_handling'/Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:2013:in
top_level' /Users/ujihisa/git/ruby192/local/lib/ruby/1.9.1/rake.rb:1992:in
run'/Users/ujihisa/git/ruby192/local/bin/rake:31:in `
that was on Mac OS X Snow Leopard and ruby 1.9.2
The text was updated successfully, but these errors were encountered: