Remove unrequired null conditional

This commit is contained in:
Salman Ahmed 2021-05-20 21:08:31 +03:00
parent 262a27610c
commit eaae9a1b67

View File

@ -82,8 +82,8 @@ namespace osu.Game.Tests.Visual.Gameplay
};
Add(expectedComponentsAdjustmentContainer);
expectedComponentsAdjustmentContainer?.UpdateSubTree();
var expectedInfo = expectedComponentsContainer?.CreateSkinnableInfo();
expectedComponentsAdjustmentContainer.UpdateSubTree();
var expectedInfo = expectedComponentsContainer.CreateSkinnableInfo();
Remove(expectedComponentsAdjustmentContainer);
return almostEqual(actualInfo, expectedInfo);