Skip to content

Commit

Permalink
Update IoHelpers.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Dec 27, 2023
1 parent 4524761 commit 8bc87d6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Verify/IoHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,7 @@ internal static void WriteText(string path, StringBuilder text)
{
CreateDirectory(Path.GetDirectoryName(path)!);
using var writer = new StreamWriter(path, false, VerifierSettings.Encoding);
foreach (var chunk in text.GetChunks())
{
writer.Write(chunk.Span);
}
writer.Write(text);
}

#endif
Expand Down

0 comments on commit 8bc87d6

Please sign in to comment.