Skip to content

Commit

Permalink
Item13378: some strings truncated for characters-not-bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
Comment committed May 14, 2015
1 parent bd62f13 commit 2cc8862
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions UnitTestContrib/test/unit/Fn_SEARCH.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4659,7 +4659,7 @@ sub test_summary_default_word_search {
);

$this->assert_html_equals( <<'CRUD', $result );
Alan says<nop>: 'I was on a landing; there were banisters'. He pauses before describing the exact shape and details of the banisters. 'There was a thin man there. I was...
Alan says<nop>: 'I was on a landing; there were banisters'. He pauses before describing the exact shape and details of the banisters. 'There was a thin man there. I wa...
CRUD

return;
Expand All @@ -4682,7 +4682,7 @@ sub test_summary_short_word_search {
);

$this->assert_html_equals( <<'CRUD', $result );
Alan says<nop>: 'I was...
Alan says<nop>: 'I wa...
CRUD

return;
Expand Down Expand Up @@ -6292,12 +6292,12 @@ sub test_format_tokens {
'$percntUSERINFO{$quot$pattern(.*?POTLEADER *= *([^\n]*).*)$quot format=$quot$emails$quot}$percnt'
=> $emailAddress,
'$summary' => qr/^$header \* Set ${nop}POTLEADER = ${nop}ScumBag$/,
'$summary(29)' => qq{$header \* Set P...},
'$summary(29)' => qq{$header \* Set...},
'$summary(showvarnames)' =>
qr/^$header \* Set ${nop}POTLEADER = ${nop}ScumBag$/,
'$summary(searchcontext)' =>
qr/^$header \* Set ${nop}POTLEADER = ${nop}ScumBag$/,
'$summary(searchcontext, 29)' => qq{$header \* Set P...},
'$summary(searchcontext, 29)' => qq{$header \* Set...},
'$summary(noheader)' => qr/^\* Set ${nop}POTLEADER = ${nop}ScumBag$/,
'$pattern(.*?POTLEADER *= *([^\n]*).*)' => 'ScumBag',
'$count(.*S.*)' => 2, # Not sure why...
Expand Down

0 comments on commit 2cc8862

Please sign in to comment.