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.