Fix naming of some style props in gentest
Summary: These props were never tested so I didn't notice the typo until now. Differential Revision: D3771132 fbshipit-source-id: 9d7c2037195f29b3cac5d21599035edf3b7830ff
This commit is contained in:
committed by
Facebook Github Bot 7
parent
aa70125f6c
commit
1fd3a16116
@@ -109,7 +109,7 @@ function setupTestTree(node, nodeName, parentName, index) {
|
|||||||
if (node.style[style] !== getDefaultStyleValue(style)) {
|
if (node.style[style] !== getDefaultStyleValue(style)) {
|
||||||
switch (style) {
|
switch (style) {
|
||||||
case 'direction':
|
case 'direction':
|
||||||
lines.push('CSSNodeSetDirection(' + nodeName + ', ' +
|
lines.push('CSSNodeStyleSetDirection(' + nodeName + ', ' +
|
||||||
directionValue(node.style[style]) + ');');
|
directionValue(node.style[style]) + ');');
|
||||||
break;
|
break;
|
||||||
case 'flex-direction':
|
case 'flex-direction':
|
||||||
@@ -137,10 +137,10 @@ function setupTestTree(node, nodeName, parentName, index) {
|
|||||||
positionValue(node.style[style]) + ');');
|
positionValue(node.style[style]) + ');');
|
||||||
break;
|
break;
|
||||||
case 'flex-wrap':
|
case 'flex-wrap':
|
||||||
lines.push('CSSNodeSetFlexWrap(' + nodeName + ', ' + wrapValue(node.style[style]) + ');');
|
lines.push('CSSNodeStyleSetFlexWrap(' + nodeName + ', ' + wrapValue(node.style[style]) + ');');
|
||||||
break;
|
break;
|
||||||
case 'overflow':
|
case 'overflow':
|
||||||
lines.push('CSSNodeSetOverflow(' + nodeName + ', ' +
|
lines.push('CSSNodeStyleSetOverflow(' + nodeName + ', ' +
|
||||||
overflowValue(node.style[style]) + ');');
|
overflowValue(node.style[style]) + ');');
|
||||||
break;
|
break;
|
||||||
case 'flex-grow':
|
case 'flex-grow':
|
||||||
|
Reference in New Issue
Block a user