Checking if your kit is complete... Looks good Writing Makefile for Text::MediawikiFormat cp lib/Text/MediawikiFormat/Blocks.pm blib/lib/Text/MediawikiFormat/Blocks.pm cp lib/Text/MediawikiFormat.pm blib/lib/Text/MediawikiFormat.pm Manifying blib/man3/Text::MediawikiFormat::Blocks.3 Manifying blib/man3/Text::MediawikiFormat.3 PERL_DL_NONLAZY=1 /home/cpanrun/tmp/5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/absolute_links.........1..7 ok 1 - Picking up absolute links ok 2 - Doesn't pick up links when absolute_links is off ok 3 - Doesn't pick up things that might look like links ok 4 - Schema tag allows specifying what is a link ok 5 - Links work at beginning of line and lose cruft ok 6 - Cruft restored after link ok 7 - Angle brackets around links are removed ok t/base...................1..35 ok 1 - use Text::MediawikiFormat; ok 2 - Text::MediawikiFormat->can('_start_block') ok 3 - _start_block() should find headings ok 4 - ... at the correct level ok 5 - _start_block() should find unordered lists ok 6 - ... at the correct level ok 7 - ... with the correct text ok 8 - _start_block() should find ordered lists ok 9 - ... at the correct level ok 10 - ... with the correct text ok 11 - _start_block() should find code ok 12 - ... at the correct level ok 13 - ... with the correct text ok 14 - _start_block() should find paragraph ok 15 - ... at the correct level ok 16 - ...with the correct text ok 17 - Text::MediawikiFormat->can('_nest_blocks') ok 18 - _nest_blocks() should merge identical blocks together ok 19 - ...merging their text ok 20 - ... merging unordered blocks ok 21 - ...and their text ok 22 - ... not merging blocks at different levels ok 23 - Text::MediawikiFormat->can('_process_blocks') ok 24 - _process_blocks() should return processed text ok 25 - ...marking header ok 26 - ...paragraph ok 27 - ...ordered list ok 28 - ...and unordered list ok 29 - ...nesting properly ok 30 - format() should give same results ok 31 - nested list should start immediately ok 32 - ... ending after last nested item ok 33 - Text::MediawikiFormat->can('_check_blocks') ok 34 - _check_blocks() should warn if block is not ordered ok 35 - ... for all missing blocks ok t/bugs...................1..15 ok 1 - use Text::MediawikiFormat; ok 2 - format() should throw no warnings for text starting with newlines ok 3 - ensure that lists followed by paragraphs are included correctly ok 4 - Baz->can('wf') ok 5 - first level of unordered list ok 6 - nested unordered lists OK ok 7 - format() should not die if a block is missing from blockorder ok 8 - ... warning instead ok 9 - successful prior match should not whomp format() ok 10 - pre tags should work ok 11 - ... not removing further indents ok 12 - parse actual CamelCase words into links ok 13 - ... not repeating if using link as title ok 14 - ... but not words in all uppercase ok 15 - _nest_blocks() should not autovivify empty blocks array ok t/embedded-links.........1..3 ok 1 - ...ignore embedded links by default ok 2 - ...processing all embedded links not ok 3 - ...and also work with a handler override. # TODO Unsupported MediaWiki features. # Failed (TODO) test '...and also work with a handler override.' # at t/embedded-links.t line 54. # got: '

[[SuperLink|Desc]] of the [[Link]]]]

# ' # expected: '

Desc of the

# ' ok t/explicit...............1..9 ok 1 - extended links rendered correctly with default delimiters ok 2 - explicit URIs rendered correctly with default delimiters ok 3 - Wiki URIs rendered correctly with default delimiters ok 4 - extended links rendered correctly with default delimiters ok 5 - explicit URIs rendered correctly with default delimiters ok 6 - Wiki URIs rendered correctly with default delimiters ok 7 - extended links rendered correctly with default delimiters ok 8 - explicit URIs rendered correctly with default delimiters ok 9 - ...and new delimiters recognised ok t/implicit...............1..3 ok 1 - should create links from StudlyCaps if implicit_links is left alone ok 2 - ...and if implicit_links set to 0 ok 3 - ...and if implicit_links set to 0 ok t/kake...................1..7 ok 1 - unindented code markers should still work ok 2 - first level of unordered list ok 3 - second level of unordered list ok 4 - definition list works ok 5 - headings work ok 6 - ... links work in headers ok 7 - ...headers may contain = ok t/lists-nested...........1..8 ok 1 - use Text::MediawikiFormat; ok 2 - nested lists should start correctly ok 3 - ... and end correctly ok 4 - nesting should be correct for multiple levels ok 5 - spaces should work instead of tabs ok 6 - nesting should be correct for spaces too not ok 7 - dictionary lists nest correctly # TODO Dictionary lists not nesting correctly. # Failed (TODO) test 'dictionary lists nest correctly' # at t/lists-nested.t line 96. # got: '
#
Term 1
#
Def 1.1
#
Term 1.1.1
#
Def 1.1.1.1
#
Term 1.1.2
#
Def 1.1.2.1
#
Def 1.1.2.2
#
Term 1.1.3
#
Def 1.1.3.1
#
Term 1.1.3.1.1
#
Def 1.1.3.1.1.1
#
#
#
#
#
Term 2
#
Def 2.1
#
Def 2.2
#
Term 2.2.1
#
Def 2.2.1.1
#
#
#
Term 3
#
Def 3.1
#
# ' # expected: '' not ok 8 - lists nest correctly within dictionary lists # TODO Dictionary lists not nesting correctly. # Failed (TODO) test 'lists nest correctly within dictionary lists' # at t/lists-nested.t line 112. # got: '
#
A
#
A.a
    #
  1. A.a.1
      #
    1. A.a.1.1
    2. #
    #
  2. #
  3. A.a.2
      #
    • A.a.2.*
    • #
    • A.a.2.*
        #
      1. A.a.2.*.1
      2. #
      #
    • #
    #
  4. #
#
#
A.b
#
# ' # expected: '
#
A
#
A.a
#
    #
  1. A.a.1
      #
    1. A.a.1.1
    2. #
    #
  2. #
  3. A.a.2
      #
    • A.a.2.*
    • #
    • A.a.2.*
        #
      1. A.a.2.*.1
      2. #
      #
    • #
    #
  4. #
#
A.b
#
# ' ok t/lists-no-indent........1..7 ok 1 - unordered lists should render correctly ok 2 - ...ordered lists too ok 3 - unordered should remain okay when we redefine all list regexps ok 4 - ...ordered lists too ok 5 - unordered should still work when redefined ok 6 - ...ordered should be unaffected ok 7 - redefining a list type to require no indent should work ok t/lists..................1..7 ok 1 - use Text::MediawikiFormat; ok 2 - T:MF should have a blockorder entry in %tags ok 3 - ...and it should be an array isa ARRAY ok 4 - ...and code should come before everything ok 5 - lists should be able to start on the first line of text ok 6 - list item content should be formatted ok 7 - dictionary lists format correctly ok t/merge-hash.............1..8 ok 1 - use Text::MediawikiFormat; ok 2 - merge should work when all keys in from exist in to ok 3 - merge should copy subhashes ok 4 - ... in flat case when keys exist in from but not in to ok 5 - ... in non-flat case when keys exist in but not in to ok 6 - ...and when value is zero but defined ok 7 - regexes should replace arrays ok 8 - ...and vice versa ok t/tag-override-use-as....1..2 ok 1 - redefining a list type works with use as ok 2 - redefining a list type to require no indent works with use as ok t/tag-override...........1..13 ok 1 - unordered lists should be rendered correctly ok 2 - ...and ordered lists too ok 3 - unordered should remain okay when we redefine all list regexps ok 4 - ... and so should ordered ok 5 - unordered should still work when redefined ok 6 - ...and ordered should be unaffected ok 7 - redefining just one list type should work for that type ok 8 - ...and should not affect other types too ok 9 - ... overriding strong tag ok 10 - ... overriding emphasized tag ok 11 - ... and both at once ok 12 - redefining a single list type after import should work for that type ok 13 - ...and also for a different type defined on import ok t/Wiki...................1..32 ok 1 - use Text::MediawikiFormat; ok 2 - %tags should be available from Text::MediawikiFormat ok 3 - format_line () should link StudlyCaps where found) ok 4 - three ticks should mark strong ok 5 - two ticks should mark emphasized ok 6 - should catch StudlyCaps ok 7 - should not handle extended links without flag ok 8 - should handle extended links with flag ok 9 - three ticks should mark strong ok 10 - two ticks should mark emphasized ok 11 - ...default ordered entry should have four items ok 12 - ...and should have no subrefs ok 13 - ...should start new text with paragraph ok 14 - ... should use correct tags when ending lists ok 15 - ...should add no newline before paragraph, but at newline in paragraph ok 16 - ... should add no newline at end of paragraph ok 17 - ...should sub markup in code sections ok 18 - ...but should not create empty lists ok 19 - ...should extended absolute links on spaces ok 20 - ...should leave spaces alone in titles of extended links ok 21 - headings should be marked ok 22 - ... and numbered appropriately ok 23 - Module should import nothing by default ok 24 - Text::MediawikiFormat->can('import') ok 25 - Foo->can('wikiformat') ok 26 - Bar->can('wf') ok 27 - ...and should be a wrapper around format() ok 28 - imported sub should pass through default option ok 29 - ... and default tag ok 30 - ...passing through text unharmed ok 31 - ...along with new tags ok 32 - ...overriding default args as needed ok All tests successful. Files=14, Tests=156, 3 wallclock secs ( 2.07 cusr + 0.48 csys = 2.55 CPU) Installing /home/cpanrun/build/5.10.0/html/site/lib/Text/MediawikiFormat.html Installing /home/cpanrun/build/5.10.0/html/site/lib/Text/MediawikiFormat/Blocks.html Installing /home/cpanrun/build/5.10.0/site/lib/Text/MediawikiFormat.pm Installing /home/cpanrun/build/5.10.0/site/lib/Text/MediawikiFormat/Blocks.pm Installing /home/cpanrun/build/5.10.0/site/man/man3/Text::MediawikiFormat.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/Text::MediawikiFormat::Blocks.3 Appending installation info to /home/cpanrun/build/5.10.0/lib/perllocal.pod