Skip to content

Commit

Permalink
Item1075: add a unit test for the One/Wiki.NET summary issue
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@7838 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
SvenDowideit authored and SvenDowideit committed Jun 18, 2010
1 parent fcc0d79 commit fe21044
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UnitTestContrib/test/unit/Fn_SEARCH.pm
Expand Up @@ -871,7 +871,7 @@ sub set_up_for_formatted_search {
my $text = <<'HERE';
%META:TOPICINFO{author="ProjectContributor" date="1169714817" format="1.1" version="1.2"}%
%META:TOPICPARENT{name="TestCaseAutoFormattedSearch"}%
!MichaelAnchor and !AnnaAnchor lived in Skagen in !DenmarkEurope!. There is a very nice museum you can visit!
!MichaelAnchor, One/WIKI.NET and !AnnaAnchor lived in Skagen in !DenmarkEurope!. There is a very nice museum you can visit!
This text is fill in text which is there to ensure that the unique word below does not show up in a summary.
Expand Down Expand Up @@ -903,7 +903,7 @@ sub verify_formatted_search_summary_with_exclamation_marks {
);
$actual = $this->{test_topicObject}->renderTML($actual);
$expected =
'<nop>MichaelAnchor and <nop>AnnaAnchor lived in Skagen in <nop>DenmarkEurope!. There is a very nice museum you can visit!';
'<nop>MichaelAnchor, One/<nop>WIKI.<nop><nop>NET and <nop>AnnaAnchor lived in Skagen in <nop>DenmarkEurope!. There is a very nice museum you can visit!';
$this->assert_str_equals( $expected, $actual );

$actual =
Expand Down

0 comments on commit fe21044

Please sign in to comment.