Skip to content
Snippets Groups Projects
Commit ee409f9d authored by Brian Terlson's avatar Brian Terlson
Browse files

Merge pull request #14 from JaimeLynSchatz/JaimeLynSchatz/fixBugz1561

fix error msgs in test S12.6.1_A1 from Bugzilla issue 1561
parents 5920e4e9 f9afc0c8
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ do __in__do=1; while ( false ); ...@@ -15,7 +15,7 @@ do __in__do=1; while ( false );
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
//CHECK#1 //CHECK#1
if (__in__do!==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 ); ...@@ -25,7 +25,7 @@ do __in__do=2; while ( 0 );
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
//CHECK#2 //CHECK#2
if (__in__do!==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 ( "" ); ...@@ -35,7 +35,7 @@ do __in__do=3; while ( "" );
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
//CHECK#3 //CHECK#3
if (__in__do!==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');
} }
// //
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment