Merge pull request #14 from JaimeLynSchatz/JaimeLynSchatz/fixBugz1561

fix error msgs in test S12.6.1_A1 from Bugzilla issue 1561
This commit is contained in:
Brian Terlson 2014-07-10 14:32:37 -07:00
commit ee409f9d7d
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');
}
//
//////////////////////////////////////////////////////////////////////////////