Skip to content

Commit

Permalink
Minor.
Browse files Browse the repository at this point in the history
  • Loading branch information
slevithan committed Oct 25, 2012
1 parent 5d0cf37 commit 9d7aefc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/spec/s-xregexp-methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,9 @@ describe('XRegExp.isRegExp()', function() {

// Cleanup
iframe.parentNode.removeChild(iframe);
} else {
// Keep the assertion count consistent cross-environment
expect(typeof document).toBe('undefined');
}
});

Expand Down Expand Up @@ -1069,7 +1072,7 @@ describe('XRegExp.matchChain()', function() {
describe('XRegExp.replace()', function() {

/*
* NOTE: These specs should mirror those for RegExp.prototype.replace as closely as possible.
* NOTE: These specs should mirror those for String.prototype.replace as closely as possible.
*/

/*
Expand Down Expand Up @@ -1170,7 +1173,7 @@ describe('XRegExp.replaceEach()', function() {
describe('XRegExp.split()', function() {

/*
* NOTE: These specs should mirror those for RegExp.prototype.split as closely as possible.
* NOTE: These specs should mirror those for String.prototype.split as closely as possible.
*/

it('should pass tests with a variety of subjects, separators, and limits', function() {
Expand Down

0 comments on commit 9d7aefc

Please sign in to comment.