From 49ac454922fa7fa2960cbd24d779ca8812e0b9fc Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Sat, 7 Mar 2015 17:12:25 -0500 Subject: [PATCH] Removing tests for undefined proxy The proxy is still undefined, but these tests now fail with the latest node --- spec/parser/javascript/match_spec.js | 10 +++------- spec/parser/javascript/subexp_spec.js | 3 --- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/spec/parser/javascript/match_spec.js b/spec/parser/javascript/match_spec.js index 5ed5cb2..35e9551 100644 --- a/spec/parser/javascript/match_spec.js +++ b/spec/parser/javascript/match_spec.js @@ -27,7 +27,6 @@ describe('parser/javascript/match.js', function() { content: jasmine.objectContaining({ literal: 'example' }) }) ], - proxy: undefined }, 'example$': { anchorStart: false, @@ -36,8 +35,7 @@ describe('parser/javascript/match.js', function() { jasmine.objectContaining({ content: jasmine.objectContaining({ literal: 'example' }) }) - ], - proxy: undefined + ] }, 'example*': { anchorStart: false, @@ -49,14 +47,12 @@ describe('parser/javascript/match.js', function() { jasmine.objectContaining({ content: jasmine.objectContaining({ literal: 'e' }) }) - ], - proxy: undefined + ] }, '': { anchorStart: false, anchorEnd: false, - parts: [], - proxy: undefined + parts: [] } }, (content, str) => { it(`parses "${str}" as a Match`, function() { diff --git a/spec/parser/javascript/subexp_spec.js b/spec/parser/javascript/subexp_spec.js index 90ece7e..2f15c67 100644 --- a/spec/parser/javascript/subexp_spec.js +++ b/spec/parser/javascript/subexp_spec.js @@ -14,19 +14,16 @@ describe('parser/javascript/subexp.js', function() { '(test)': { label: 'group #1', regexp: jasmine.objectContaining({ textValue: 'test' }), - proxy: undefined, state: { groupCounter: 2 } }, '(?=test)': { label: 'positive lookahead', regexp: jasmine.objectContaining({ textValue: 'test' }), - proxy: undefined, state: { groupCounter: 1 } }, '(?!test)': { label: 'negative lookahead', regexp: jasmine.objectContaining({ textValue: 'test' }), - proxy: undefined, state: { groupCounter: 1 } }, '(?:test)': {