This takes forever to highlight. Note that it has trailing spaces, which ARE CRUCIAL in triggering the bug.


<pre lang="Perl">
t/01app.........................1/2 Subroutine primary_formatter redefined at /home/hunter/dev/mojomojo/blib/lib/MojoMojo/Formatter/Textile.pm line 28.                                                                                   
Subroutine format_content_order redefined at /home/hunter/dev/mojomojo/blib/lib/MojoMojo/Formatter/Textile.pm line 36.                                                                                                                    
Subroutine format_content redefined at /home/hunter/dev/mojomojo/blib/lib/MojoMojo/Formatter/Textile.pm line 45.     
t/01app.........................ok                                                                                   
t/02pod.........................skipped: set TEST_POD to enable this test                                            
t/03podcoverage.................skipped: set TEST_POD to enable this test                                            
t/c/jsrpc.......................1/5 Subroutine primary_formatter redefined at /home/hunter/dev/mojomojo/blib/lib/MojoMojo/Formatter/Textile.pm line 28.                                                                                   
Subroutine format_content_order redefined at /home/hunter/dev/mojomojo/blib/lib/MojoMojo/Formatter/Textile.pm line 36.                                                                                                                    
Subroutine format_content redefined at /home/hunter/dev/mojomojo/blib/lib/MojoMojo/Formatter/Textile.pm line 45.     

#   Failed test 'correct body returned'
#   at t/c/jsrpc.t line 12.            
#          got: '<p>123</p>            
# '                                    
#     expected: '<p>123</p>'           
t/c/jsrpc.......................5/5 # Looks like you failed 1 test of 5.
t/c/jsrpc....................... Dubious, test returned 1 (wstat 256, 0x100)
 Failed 1/5 subtests                                                        
t/c/page........................1/16 Subroutine primary_formatter redefined at /home/hunter/dev/mojomojo/blib/lib/MojoMojo/Formatter/Textile.pm line 28.                                                                                  
Subroutine format_content_order redefined at /home/hunter/dev/mojomojo/blib/lib/MojoMojo/Formatter/Textile.pm line 36.                                                                                                                    
Subroutine format_content redefined at /home/hunter/dev/mojomojo/blib/lib/MojoMojo/Formatter/Textile.pm line 45.     
t/c/page........................ok                                                                                   
t/c/page_edit...................skipped: needs Test::WWW::Mechanize::Catalyst and WWW::Mechanize::TreeBuilder for this test                                                                                                               
t/c/user........................1/3 Subroutine primary_formatter redefined at /home/hunter/dev/mojomojo/blib/lib/MojoMojo/Formatter/Textile.pm line 28.                                                                                   
Subroutine format_content_order redefined at /home/hunter/dev/mojomojo/blib/lib/MojoMojo/Formatter/Textile.pm line 36.                                                                                                                    
Subroutine format_content redefined at /home/hunter/dev/mojomojo/blib/lib/MojoMojo/Formatter/Textile.pm line 45.     
t/formatter_file................1/7 Use of uninitialized value in sprintf at /usr/share/perl/5.10/Pod/Simple/HTML.pm line 291.                                                                                                            
Use of uninitialized value $MojoMojo::Formatter::Pod::Simple::HTML::WORD in regexp compilation at /home/hunter/dev/mojomojo/blib/lib/MojoMojo/Formatter/Pod.pm line 105.                                                                  
^+ matches null string many times in regex; marked by <-- HERE in m/^+ <-- HERE $/ at /home/hunter/dev/mojomojo/blib/lib/MojoMojo/Formatter/Pod.pm line 105.                                                                              
t/formatter_file................ok                                                                                   
t/formatter_include.............skipped: set TEST_LIVE to run tests that requires a live internet connection         
t/formatter_wiki................1/26                                                                                 
#   Failed test 'number at the end of the link text'                                                                 
#   at t/formatter_wiki.t line 13.                                                                                   
#          got: '[[existing|MojoMojo 2]]'                                                                            
#     expected: '<a class="existingWikiWord" href="/existing">MojoMojo 2</a>'                                        
# Looks like you failed 1 test of 26.
t/formatter_wiki................ Dubious, test returned 1 (wstat 256, 0x100)
 Failed 1/26 subtests
t/permissions...................ok
t/schema_DBIC...................ok
t/schema_DBIC_Attachment........Argument "02+02" isn't numeric in numeric ge (>=) at /usr/lib/perl5/DateTime.pm line151.
t/selenium......................skipped: requires Test::WWW::Selenium::Catalyst
t/wikispaces2markdown...........ok

Test Summary Report
-------------------
t/c/jsrpc                   (Wstat: 256 Tests: 5 Failed: 1)
  Failed test:  4
  Non-zero exit status: 1
t/formatter_wiki            (Wstat: 256 Tests: 26 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=28, Tests=141, 29 wallclock secs ( 0.12 usr  0.04 sys + 21.47 cusr  1.53 csys = 23.16 CPU)
Result: FAIL
Failed 2/28 test programs. 2/141 subtests failed.

</pre>