Removing tests for undefined proxy

The proxy is still undefined, but these tests now fail with the latest
node
This commit is contained in:
Jeff Avallone 2015-03-07 17:12:25 -05:00
parent 1a117e3672
commit 49ac454922
2 changed files with 3 additions and 10 deletions

View File

@ -27,7 +27,6 @@ describe('parser/javascript/match.js', function() {
content: jasmine.objectContaining({ literal: 'example' }) content: jasmine.objectContaining({ literal: 'example' })
}) })
], ],
proxy: undefined
}, },
'example$': { 'example$': {
anchorStart: false, anchorStart: false,
@ -36,8 +35,7 @@ describe('parser/javascript/match.js', function() {
jasmine.objectContaining({ jasmine.objectContaining({
content: jasmine.objectContaining({ literal: 'example' }) content: jasmine.objectContaining({ literal: 'example' })
}) })
], ]
proxy: undefined
}, },
'example*': { 'example*': {
anchorStart: false, anchorStart: false,
@ -49,14 +47,12 @@ describe('parser/javascript/match.js', function() {
jasmine.objectContaining({ jasmine.objectContaining({
content: jasmine.objectContaining({ literal: 'e' }) content: jasmine.objectContaining({ literal: 'e' })
}) })
], ]
proxy: undefined
}, },
'': { '': {
anchorStart: false, anchorStart: false,
anchorEnd: false, anchorEnd: false,
parts: [], parts: []
proxy: undefined
} }
}, (content, str) => { }, (content, str) => {
it(`parses "${str}" as a Match`, function() { it(`parses "${str}" as a Match`, function() {

View File

@ -14,19 +14,16 @@ describe('parser/javascript/subexp.js', function() {
'(test)': { '(test)': {
label: 'group #1', label: 'group #1',
regexp: jasmine.objectContaining({ textValue: 'test' }), regexp: jasmine.objectContaining({ textValue: 'test' }),
proxy: undefined,
state: { groupCounter: 2 } state: { groupCounter: 2 }
}, },
'(?=test)': { '(?=test)': {
label: 'positive lookahead', label: 'positive lookahead',
regexp: jasmine.objectContaining({ textValue: 'test' }), regexp: jasmine.objectContaining({ textValue: 'test' }),
proxy: undefined,
state: { groupCounter: 1 } state: { groupCounter: 1 }
}, },
'(?!test)': { '(?!test)': {
label: 'negative lookahead', label: 'negative lookahead',
regexp: jasmine.objectContaining({ textValue: 'test' }), regexp: jasmine.objectContaining({ textValue: 'test' }),
proxy: undefined,
state: { groupCounter: 1 } state: { groupCounter: 1 }
}, },
'(?:test)': { '(?:test)': {