Fixed up style in the ChatDisplay test

This commit is contained in:
FreezyLemon 2017-12-07 10:29:54 +01:00
parent 65afbd5c1b
commit 006ac44e11

View File

@ -12,7 +12,7 @@ namespace osu.Game.Tests.Visual
[Description("Testing chat api and overlay")] [Description("Testing chat api and overlay")]
internal class TestCaseChatDisplay : OsuTestCase internal class TestCaseChatDisplay : OsuTestCase
{ {
private BeatmapSetOverlay beatmapSetOverlay; private readonly BeatmapSetOverlay beatmapSetOverlay;
private readonly ChatOverlay chat; private readonly ChatOverlay chat;
private DependencyContainer dependencies; private DependencyContainer dependencies;
@ -21,12 +21,10 @@ namespace osu.Game.Tests.Visual
public TestCaseChatDisplay() public TestCaseChatDisplay()
{ {
chat = new ChatOverlay Add(chat = new ChatOverlay
{ {
State = Visibility.Visible State = Visibility.Visible
}; });
Add(chat);
Add(beatmapSetOverlay = new BeatmapSetOverlay()); Add(beatmapSetOverlay = new BeatmapSetOverlay());
} }