Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit 335e9e6

Browse files
committed
Fix tests
1 parent d0c068a commit 335e9e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,12 +566,12 @@ test('hast-to-hyperscript', function(t) {
566566
r,
567567
u('element', {
568568
tagName: 'div',
569-
properties: {style: '; color; border: 1;'}
569+
properties: {style: 'color:red; /*'}
570570
})
571571
)
572572
},
573-
/^Error: div\[style]:1:3: missing '\}'$/,
574-
'react: should throw on invalid style declarations'
573+
/^Error: div\[style\]:1:12: End of comment missing$/,
574+
'react: should ignore invalid style declarations'
575575
)
576576

577577
st.deepEqual(

0 commit comments

Comments
 (0)