From f9afc0c8473a5aaf39963a168b3c29ec29bad31b Mon Sep 17 00:00:00 2001 From: JaimeLynSchatz Date: Sun, 26 Jan 2014 16:21:28 -0800 Subject: [PATCH] fix error msgs in test S12.6.1_A1 from Bugzilla issue 1561 --- test/suite/ch12/12.6/12.6.1/S12.6.1_A1.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A1.js b/test/suite/ch12/12.6/12.6.1/S12.6.1_A1.js index c95c6ff1e0..b4cf09ab90 100644 --- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A1.js +++ b/test/suite/ch12/12.6/12.6.1/S12.6.1_A1.js @@ -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'); } // //////////////////////////////////////////////////////////////////////////////