diff --git a/osu.Game.Tests/Beatmaps/IO/ImportBeatmapTest.cs b/osu.Game.Tests/Beatmaps/IO/ImportBeatmapTest.cs index 910918297f..239c9f59e3 100644 --- a/osu.Game.Tests/Beatmaps/IO/ImportBeatmapTest.cs +++ b/osu.Game.Tests/Beatmaps/IO/ImportBeatmapTest.cs @@ -75,18 +75,16 @@ namespace osu.Game.Tests.Beatmaps.IO var temp = prepareTempCopy(osz_path); - Assert.IsTrue(File.Exists(temp)); + Assert.IsTrue(File.Exists(temp), "Temporary file copy never substantiated"); using (File.OpenRead(temp)) host.Dependencies.Get().Import(temp); ensureLoaded(host); - Assert.IsTrue(File.Exists(temp)); - File.Delete(temp); - Assert.IsFalse(File.Exists(temp)); + Assert.IsFalse(File.Exists(temp), "We likely help a read lock not he file when we shouldn't"); } }