Skip to content

Commit

Permalink
fix edge test case
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 26, 2017
1 parent 1096890 commit c24f492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/modules/compiler/parser.spec.js
@@ -1,7 +1,7 @@
import { parse } from 'compiler/parser/index'
import { extend } from 'shared/util'
import { baseOptions } from 'web/compiler/index'
import { isIE } from 'core/util/env'
import { isIE, isEdge } from 'core/util/env'

describe('parser', () => {
it('simple element', () => {
Expand Down Expand Up @@ -436,7 +436,7 @@ describe('parser', () => {
expect('Interpolation inside attributes has been removed').toHaveBeenWarned()
})

if (!isIE) {
if (!isIE && !isEdge) {
it('duplicate attribute', () => {
parse('<p class="class1" class="class1">hello world</p>', baseOptions)
expect('duplicate attribute').toHaveBeenWarned()
Expand Down

0 comments on commit c24f492

Please sign in to comment.