mirror of
https://github.com/ppy/osu
synced 2025-03-03 18:10:28 +00:00
simpler temporary path generation
This commit is contained in:
parent
b84441ab87
commit
aeeb03ff9c
@ -264,7 +264,7 @@ namespace osu.Game.Tests.Beatmaps.IO
|
||||
|
||||
private string createTemporaryBeatmap()
|
||||
{
|
||||
var temp = Path.GetTempFileName() + Guid.NewGuid() + ".osz";
|
||||
var temp = Path.GetTempFileName() + ".osz";
|
||||
File.Copy(osz_path, temp, true);
|
||||
Assert.IsTrue(File.Exists(temp));
|
||||
return temp;
|
||||
|
Loading…
Reference in New Issue
Block a user