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:
Emil Sjolander
2016-08-25 15:28:39 -07:00
committed by Facebook Github Bot 7
parent aa70125f6c
commit 1fd3a16116

View File

@@ -109,7 +109,7 @@ function setupTestTree(node, nodeName, parentName, index) {
if (node.style[style] !== getDefaultStyleValue(style)) {
switch (style) {
case 'direction':
lines.push('CSSNodeSetDirection(' + nodeName + ', ' +
lines.push('CSSNodeStyleSetDirection(' + nodeName + ', ' +
directionValue(node.style[style]) + ');');
break;
case 'flex-direction':
@@ -137,10 +137,10 @@ function setupTestTree(node, nodeName, parentName, index) {
positionValue(node.style[style]) + ');');
break;
case 'flex-wrap':
lines.push('CSSNodeSetFlexWrap(' + nodeName + ', ' + wrapValue(node.style[style]) + ');');
lines.push('CSSNodeStyleSetFlexWrap(' + nodeName + ', ' + wrapValue(node.style[style]) + ');');
break;
case 'overflow':
lines.push('CSSNodeSetOverflow(' + nodeName + ', ' +
lines.push('CSSNodeStyleSetOverflow(' + nodeName + ', ' +
overflowValue(node.style[style]) + ');');
break;
case 'flex-grow':