Skip to content
Permalink
Browse files

Item13378: some strings truncated for characters-not-bytes

  • Loading branch information
Comment
Comment committed May 14, 2015
1 parent bd62f13 commit 2cc8862d23a1968a8666c4807c29103229788372
Showing with 4 additions and 4 deletions.
  1. +4 −4 UnitTestContrib/test/unit/Fn_SEARCH.pm
@@ -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;
@@ -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;
@@ -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...

0 comments on commit 2cc8862

Please sign in to comment.
You can’t perform that action at this time.