| // Copyright 2009 the Sputnik authors. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| info: Catching objects with try/catch/finally statement |
| description: Catching boolean |
| if (e!==true) $ERROR('#1: Exception ===true. Actual: Exception ==='+ e ); |
| if (e!==false) $ERROR('#2: Exception ===false. Actual: Exception ==='+ e ); |
| if (e!==false) $ERROR('#3: Exception ===false. Actual: Exception ==='+ e ); |
| if (e!==true) $ERROR('#4: Exception ===true. Actual: Exception ==='+ e ); |
| if (e!==false) $ERROR('#5: Exception ===false. Actual: Exception ==='+ e ); |
| if (e!==true) $ERROR('#6: Exception ===true. Actual: Exception ==='+ e ); |