File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ o.spec("normalizeChildren", function() {
64
64
o ( "disallows mixed keys, starting with null" , function ( ) {
65
65
o ( function ( ) {
66
66
Vnode . normalizeChildren ( [
67
- { data : 1 } ,
68
67
null ,
68
+ { key : 2 } ,
69
69
] )
70
70
} ) . throws ( TypeError )
71
71
} )
@@ -80,8 +80,8 @@ o.spec("normalizeChildren", function() {
80
80
o ( "disallows mixed keys, starting with undefined" , function ( ) {
81
81
o ( function ( ) {
82
82
Vnode . normalizeChildren ( [
83
- { data : 1 } ,
84
83
undefined ,
84
+ { key : 2 } ,
85
85
] )
86
86
} ) . throws ( TypeError )
87
87
} )
@@ -96,8 +96,8 @@ o.spec("normalizeChildren", function() {
96
96
o ( "disallows mixed keys, starting with false" , function ( ) {
97
97
o ( function ( ) {
98
98
Vnode . normalizeChildren ( [
99
- { data : 1 } ,
100
99
false ,
100
+ { key : 2 } ,
101
101
] )
102
102
} ) . throws ( TypeError )
103
103
} )
@@ -112,8 +112,8 @@ o.spec("normalizeChildren", function() {
112
112
o ( "disallows mixed keys, starting with true" , function ( ) {
113
113
o ( function ( ) {
114
114
Vnode . normalizeChildren ( [
115
- { data : 1 } ,
116
115
true ,
116
+ { key : 2 } ,
117
117
] )
118
118
} ) . throws ( TypeError )
119
119
} )
You can’t perform that action at this time.
0 commit comments