1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 11:42:56 +08:00

Rename method for better comprehension

This commit is contained in:
Bartłomiej Dach 2021-05-20 20:47:50 +02:00
parent b521405ec8
commit f35a07fee7

View File

@ -37,7 +37,7 @@ namespace osu.Game.Tests.Visual.UserInterface
foreach (var item in items.Reverse().SkipLast(3))
AddStep($"Remove {item} item", () => header.RemoveItem(item));
AddStep("Clear item", () => header.ClearItem());
AddStep("Clear items", () => header.ClearItems());
foreach (var item in items)
AddStep($"Add {item} item", () => header.AddItem(item));
@ -66,7 +66,7 @@ namespace osu.Game.Tests.Visual.UserInterface
Current.Value = TabControl.Items.LastOrDefault();
}
public void ClearItem()
public void ClearItems()
{
TabControl.Clear();
Current.Value = null;