mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 14:27:31 +08:00
Fix apparently required argument
This commit is contained in:
parent
93440874db
commit
7f7d5e6617
@ -6,6 +6,7 @@ using System.Collections;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
using osu.Framework.Audio.Track;
|
using osu.Framework.Audio.Track;
|
||||||
using osu.Framework.Graphics.Textures;
|
using osu.Framework.Graphics.Textures;
|
||||||
@ -59,7 +60,7 @@ namespace osu.Game.Tests.Beatmaps.Formats
|
|||||||
{
|
{
|
||||||
var stream = new MemoryStream();
|
var stream = new MemoryStream();
|
||||||
|
|
||||||
using (var writer = new StreamWriter(stream, leaveOpen: true))
|
using (var writer = new StreamWriter(stream, Encoding.UTF8, leaveOpen: true))
|
||||||
new LegacyBeatmapEncoder(beatmap).Encode(writer);
|
new LegacyBeatmapEncoder(beatmap).Encode(writer);
|
||||||
|
|
||||||
stream.Position = 0;
|
stream.Position = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user