Skip to content

Commit c24f492

Browse files
committed
fix edge test case
1 parent 1096890 commit c24f492

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/modules/compiler/parser.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { parse } from 'compiler/parser/index'
22
import { extend } from 'shared/util'
33
import { baseOptions } from 'web/compiler/index'
4-
import { isIE } from 'core/util/env'
4+
import { isIE, isEdge } from 'core/util/env'
55

66
describe('parser', () => {
77
it('simple element', () => {
@@ -436,7 +436,7 @@ describe('parser', () => {
436436
expect('Interpolation inside attributes has been removed').toHaveBeenWarned()
437437
})
438438

439-
if (!isIE) {
439+
if (!isIE && !isEdge) {
440440
it('duplicate attribute', () => {
441441
parse('<p class="class1" class="class1">hello world</p>', baseOptions)
442442
expect('duplicate attribute').toHaveBeenWarned()

0 commit comments

Comments
 (0)