fix error msgs in test S12.6.1_A1 from Bugzilla issue 1561

This commit is contained in:
JaimeLynSchatz 2014-01-26 16:21:28 -08:00
parent 9b669da66c
commit f9afc0c847
1 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ do __in__do=1; while ( false );
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (__in__do!==1) {
$ERROR('#1: false evaluates to false');
$ERROR('#1: the inner statement of a do-loop should be evaluated before the expression: false evaluates to false');
}
//
//////////////////////////////////////////////////////////////////////////////
@ -25,7 +25,7 @@ do __in__do=2; while ( 0 );
//////////////////////////////////////////////////////////////////////////////
//CHECK#2
if (__in__do!==2) {
$ERROR('#2: 0 evaluates to false');
$ERROR('#2: the inner statement of a do-loop should be evaluated before the expression: 0 evaluates to false');
}
//
//////////////////////////////////////////////////////////////////////////////
@ -35,7 +35,7 @@ do __in__do=3; while ( "" );
//////////////////////////////////////////////////////////////////////////////
//CHECK#3
if (__in__do!==3) {
$ERROR('#3: "" evaluates to false');
$ERROR('#3: the inner statement of a do-loop should be evaluated before the expression: "" evaluates to false');
}
//
//////////////////////////////////////////////////////////////////////////////