зеркало из https://github.com/mozilla/gecko-dev.git
More minor adjustments -
This commit is contained in:
Родитель
e3608c31cf
Коммит
a4c1795cc3
|
@ -27,7 +27,7 @@
|
||||||
//-------------------------------------------------------------------------------------------------
|
//-------------------------------------------------------------------------------------------------
|
||||||
var bug = 67773;
|
var bug = 67773;
|
||||||
var summary = 'Testing regular subexpressions followed by ? or +';
|
var summary = 'Testing regular subexpressions followed by ? or +';
|
||||||
var statprefix = 'regexp = '; var statmiddle = ', string = '; var statsuffix = ', $';
|
var statprefix = 'regexp = '; var statmiddle = ', string = '; var statsuffix = ', $';
|
||||||
var cnSingleQuote = "'"; var cnEmptyString = ''; var cnSingleSpace = ' ';
|
var cnSingleQuote = "'"; var cnEmptyString = ''; var cnSingleSpace = ' ';
|
||||||
var cnNoMatch = 'regexp FAILED to match anything!!!\n';
|
var cnNoMatch = 'regexp FAILED to match anything!!!\n';
|
||||||
var cnUnexpectedMatch = 'regexp MATCHED when we expected it to fail!!!\n';
|
var cnUnexpectedMatch = 'regexp MATCHED when we expected it to fail!!!\n';
|
||||||
|
@ -195,11 +195,11 @@ function getStatus(i, j)
|
||||||
{
|
{
|
||||||
if ( j )
|
if ( j )
|
||||||
{
|
{
|
||||||
return (statprefix + quote(patterns[i]) + statmiddle + quote(strings[i]) + statsuffix + j );
|
return (statprefix + patterns[i] + statmiddle + quote(strings[i]) + statsuffix + j );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return (statprefix + quote(patterns[i]) + statmiddle + quote(strings[i]));
|
return (statprefix + patterns[i] + statmiddle + quote(strings[i]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче