Minor fix in ASStackLayoutSpecSnapshotTests (#3160)

This commit is contained in:
Huy Nguyen 2017-03-09 22:21:29 +00:00 committed by Michael Schneider
parent 18c906aa5c
commit 54325ecf66

View File

@ -1059,7 +1059,7 @@ static NSArray<ASTextNode*> *defaultTextNodes()
ASDisplayNodeWithBackgroundColor([UIColor yellowColor], CGSizeZero),
];
subnodes[1].style.flexShrink = 0;
subnodes[0].style.flexShrink = 0;
subnodes[1].style.flexShrink = 1;
// In this scenario a width of 40 results in a negative violation of 10.