final fixes for AssetExportHtml test

This commit is contained in:
Colin Kuskie 2008-10-08 16:52:52 +00:00
parent 076694eff3
commit 75b39feb08
3 changed files with 28 additions and 19 deletions

View file

@ -239,7 +239,7 @@ sub exportAsHtml {
# and it must be a number.
if( !looks_like_number($depth) ) {
$returnCode = 0;
$message = sprintf $i18n->get('%d is not a valid depth'), $depth;
$message = sprintf $i18n->get('%s is not a valid depth'), $depth;
return ($returnCode, $message);
}

View file

@ -1145,8 +1145,8 @@ Couldn't open %-s because %-s <br />
context => q{Error message in exportAsHtml for an illegal parameter.},
},
'%d is not a valid depth' => {
message => q{%d is not a valid depth},
'%s is not a valid depth' => {
message => q{%s is not a valid depth},
lastUpdated => 0,
context => q{Error message in exportAsHtml for an illegal parameter.},
},