Skip to content

Commit

Permalink
Item10316: More START/ENDSECTION tests, timing
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@10659 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
PaulHarvey authored and PaulHarvey committed Feb 5, 2011
1 parent 4b2e2f0 commit a387492
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions UnitTestContrib/test/unit/Fn_SECTION.pm
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,27 @@ sub test_sections10 {
);
}

# Item10316
sub test_continuedsections {
my ($this) = @_;
my $text = <<'HERE';
Pre-INCLUDEable %STARTINCLUDE% In-the-INCLUDEable bit
%STARTSECTION{"1"}% 1 content %ENDSECTION{"1"}%
%STARTSECTION{"2"}% 2 content
%STARTSECTION{"21"}% 2.1 content %ENDSECTION{"21"}%
%STARTSECTION{"22"}% 2.2 content
%STARTSECTION{"221"}% 2.2.1 content %ENDSECTION{"221"}%
%STARTSECTION{"222"}% 2.2.2 content %ENDSECTION{"222"}%
%STARTSECTION{"223"}% 2.2.3 content %ENDSECTION{"223"}%
%STARTSECTION{"224"}% 2.2.4 continued content %ENDSECTION{"224"}%
%ENDSECTION{"22"}%
%STARTSECTION{"23"}% 2.3 content %ENDSECTION{"23"}%
%ENDSECTION{"2"}%
%STARTSECTION{"3"}% 3 content %ENDSECTION{"3"}%
Still-in-the-INCLUDEable bit
%STOPINCLUDE% Post-INCLUDEable
HERE

}

1;

0 comments on commit a387492

Please sign in to comment.