-
- Downloads
Improve coverage for section 21: String (#712)
This changeset increases coverage for section 21, specifically "21.1 String Objects". * Add tests for "this" validation of String methods * Add tests for ToNumber as used by String methods * Add test for `length` prop of exotic String objs * fixup! Add test for `length` prop of exotic String objs
Showing
- test/built-ins/String/length.js 29 additions, 0 deletionstest/built-ins/String/length.js
- test/built-ins/String/prototype/charAt/pos-coerce-err.js 21 additions, 0 deletionstest/built-ins/String/prototype/charAt/pos-coerce-err.js
- test/built-ins/String/prototype/charAt/pos-coerce-string.js 17 additions, 0 deletionstest/built-ins/String/prototype/charAt/pos-coerce-string.js
- test/built-ins/String/prototype/charAt/pos-rounding.js 26 additions, 0 deletionstest/built-ins/String/prototype/charAt/pos-rounding.js
- test/built-ins/String/prototype/charAt/this-value-not-obj-coercible.js 21 additions, 0 deletions...s/String/prototype/charAt/this-value-not-obj-coercible.js
- test/built-ins/String/prototype/charCodeAt/pos-coerce-err.js 21 additions, 0 deletionstest/built-ins/String/prototype/charCodeAt/pos-coerce-err.js
- test/built-ins/String/prototype/charCodeAt/pos-coerce-string.js 19 additions, 0 deletions...uilt-ins/String/prototype/charCodeAt/pos-coerce-string.js
- test/built-ins/String/prototype/charCodeAt/pos-rounding.js 29 additions, 0 deletionstest/built-ins/String/prototype/charCodeAt/pos-rounding.js
- test/built-ins/String/prototype/charCodeAt/this-value-not-obj-coercible.js 21 additions, 0 deletions...ring/prototype/charCodeAt/this-value-not-obj-coercible.js
- test/built-ins/String/prototype/concat/this-value-not-obj-coercible.js 21 additions, 0 deletions...s/String/prototype/concat/this-value-not-obj-coercible.js
- test/built-ins/String/prototype/indexOf/this-value-not-obj-coercible.js 21 additions, 0 deletions.../String/prototype/indexOf/this-value-not-obj-coercible.js
- test/built-ins/String/prototype/lastIndexOf/this-value-not-obj-coercible.js 21 additions, 0 deletions...ing/prototype/lastIndexOf/this-value-not-obj-coercible.js
- test/built-ins/String/prototype/localeCompare/this-value-not-obj-coercible.js 21 additions, 0 deletions...g/prototype/localeCompare/this-value-not-obj-coercible.js
- test/built-ins/String/prototype/match/this-value-not-obj-coercible.js 21 additions, 0 deletions...ns/String/prototype/match/this-value-not-obj-coercible.js
- test/built-ins/String/prototype/replace/this-value-not-obj-coercible.js 21 additions, 0 deletions.../String/prototype/replace/this-value-not-obj-coercible.js
- test/built-ins/String/prototype/search/this-value-not-obj-coercible.js 21 additions, 0 deletions...s/String/prototype/search/this-value-not-obj-coercible.js
- test/built-ins/String/prototype/slice/this-value-not-obj-coercible.js 21 additions, 0 deletions...ns/String/prototype/slice/this-value-not-obj-coercible.js
- test/built-ins/String/prototype/split/this-value-not-obj-coercible.js 21 additions, 0 deletions...ns/String/prototype/split/this-value-not-obj-coercible.js
- test/built-ins/String/prototype/substring/this-value-not-obj-coercible.js 21 additions, 0 deletions...tring/prototype/substring/this-value-not-obj-coercible.js
- test/built-ins/String/prototype/toLocaleLowerCase/this-value-not-obj-coercible.js 27 additions, 0 deletions...ototype/toLocaleLowerCase/this-value-not-obj-coercible.js
Loading
Please register or sign in to comment