From 1fd3a161161218abb35092632fbfbc5b5693a463 Mon Sep 17 00:00:00 2001 From: Emil Sjolander Date: Thu, 25 Aug 2016 15:28:39 -0700 Subject: [PATCH] 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 --- gentest/gentest.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gentest/gentest.js b/gentest/gentest.js index 0c4224d9..e8fd15a9 100755 --- a/gentest/gentest.js +++ b/gentest/gentest.js @@ -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':