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:
parent
b521405ec8
commit
f35a07fee7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user