|
@ -256,7 +256,7 @@ describe('parser', () => { |
|
|
expect(ast2.classBinding).toBe('class1') |
|
|
expect(ast2.classBinding).toBe('class1') |
|
|
// interpolation warning
|
|
|
// interpolation warning
|
|
|
parse('<p class="{{error}}">hello world</p>', baseOptions) |
|
|
parse('<p class="{{error}}">hello world</p>', baseOptions) |
|
|
expect('Interpolation inside attributes has been deprecated').toHaveBeenWarned() |
|
|
expect('Interpolation inside attributes has been removed').toHaveBeenWarned() |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
it('style binding', () => { |
|
|
it('style binding', () => { |
|
@ -318,7 +318,7 @@ describe('parser', () => { |
|
|
expect(ast1.attrs[2].value).toBe('"hello world"') |
|
|
expect(ast1.attrs[2].value).toBe('"hello world"') |
|
|
// interpolation warning
|
|
|
// interpolation warning
|
|
|
parse('<input type="text" name="field1" value="{{msg}}">', baseOptions) |
|
|
parse('<input type="text" name="field1" value="{{msg}}">', baseOptions) |
|
|
expect('Interpolation inside attributes has been deprecated').toHaveBeenWarned() |
|
|
expect('Interpolation inside attributes has been removed').toHaveBeenWarned() |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
if (!isIE) { |
|
|
if (!isIE) { |
|
|