diff options
author | Brian Terlson <brian.terlson@microsoft.com> | 2014-12-05 15:50:00 -0800 |
---|---|---|
committer | Brian Terlson <brian.terlson@microsoft.com> | 2014-12-07 15:33:09 -0800 |
commit | 2a74f0ec1b671f15fc7df3e1e294a65abc8ebac8 (patch) | |
tree | 7315f60ffd86513bf163c05e4252fab0810bfbe8 /test/built-ins/RegExp/S15.10.4.1_A3_T1.js | |
parent | da465e7399bcecd3c78fa1f5e898c9d52b4c7096 (diff) | |
download | qtdeclarative-testsuites-2a74f0ec1b671f15fc7df3e1e294a65abc8ebac8.tar.gz |
Reorganize ./test
Diffstat (limited to 'test/built-ins/RegExp/S15.10.4.1_A3_T1.js')
-rw-r--r-- | test/built-ins/RegExp/S15.10.4.1_A3_T1.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/built-ins/RegExp/S15.10.4.1_A3_T1.js b/test/built-ins/RegExp/S15.10.4.1_A3_T1.js new file mode 100644 index 000000000..30c14b383 --- /dev/null +++ b/test/built-ins/RegExp/S15.10.4.1_A3_T1.js @@ -0,0 +1,25 @@ +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +info: let P be the empty string if pattern is undefined +es5id: 15.10.4.1_A3_T1 +description: RegExp is new RegExp +---*/ + +__re = new RegExp; + +//CHECK#2 +if (__re.multiline !== false) { + $ERROR('#2: __re = new RegExp; __re.multiline === false. Actual: ' + (__re.multiline)); +} + +//CHECK#3 +if (__re.global !== false) { + $ERROR('#3: __re = new RegExp; __re.global === false. Actual: ' + (__re.global)); +} + +//CHECK#4 +if (__re.ignoreCase !== false) { + $ERROR('#4: __re = new RegExp; __re.ignoreCase === false. Actual: ' + (__re.ignoreCase)); +} |