From 54325ecf668421c0f8f6548801c4f5424b5af08c Mon Sep 17 00:00:00 2001 From: Huy Nguyen Date: Thu, 9 Mar 2017 22:21:29 +0000 Subject: [PATCH] Minor fix in ASStackLayoutSpecSnapshotTests (#3160) --- Tests/ASStackLayoutSpecSnapshotTests.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/ASStackLayoutSpecSnapshotTests.mm b/Tests/ASStackLayoutSpecSnapshotTests.mm index a09fd4b571..e39bf2a081 100644 --- a/Tests/ASStackLayoutSpecSnapshotTests.mm +++ b/Tests/ASStackLayoutSpecSnapshotTests.mm @@ -1059,7 +1059,7 @@ static NSArray *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.