Skip to content

Commit 43c4229

Browse files
authored
Fix tests for test-normalizeChildren.js
1 parent 0976985 commit 43c4229

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

render/tests/test-normalizeChildren.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ o.spec("normalizeChildren", function() {
6464
o("disallows mixed keys, starting with null", function() {
6565
o(function() {
6666
Vnode.normalizeChildren([
67-
{data: 1},
6867
null,
68+
{key: 2},
6969
])
7070
}).throws(TypeError)
7171
})
@@ -80,8 +80,8 @@ o.spec("normalizeChildren", function() {
8080
o("disallows mixed keys, starting with undefined", function() {
8181
o(function() {
8282
Vnode.normalizeChildren([
83-
{data: 1},
8483
undefined,
84+
{key: 2},
8585
])
8686
}).throws(TypeError)
8787
})
@@ -96,8 +96,8 @@ o.spec("normalizeChildren", function() {
9696
o("disallows mixed keys, starting with false", function() {
9797
o(function() {
9898
Vnode.normalizeChildren([
99-
{data: 1},
10099
false,
100+
{key: 2},
101101
])
102102
}).throws(TypeError)
103103
})
@@ -112,8 +112,8 @@ o.spec("normalizeChildren", function() {
112112
o("disallows mixed keys, starting with true", function() {
113113
o(function() {
114114
Vnode.normalizeChildren([
115-
{data: 1},
116115
true,
116+
{key: 2},
117117
])
118118
}).throws(TypeError)
119119
})

0 commit comments

Comments
 (0)