From e7ccb30b27c0efb9afc43ee3145f4ab9474927a3 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Thu, 22 Aug 2024 11:36:30 +0300 Subject: [PATCH] Fix line endings --- SteamKit2/Tests/ApiSurfaceFacts.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SteamKit2/Tests/ApiSurfaceFacts.cs b/SteamKit2/Tests/ApiSurfaceFacts.cs index 33c791874..d33c1c258 100644 --- a/SteamKit2/Tests/ApiSurfaceFacts.cs +++ b/SteamKit2/Tests/ApiSurfaceFacts.cs @@ -17,7 +17,7 @@ public void ApiSurfaceIsWellKnown() using var stream = assembly.GetManifestResourceStream( "Tests.Files.apisurface.txt" ); using var ms = new MemoryStream(); stream.CopyTo( ms ); - var expected = Encoding.UTF8.GetString( ms.ToArray() ); + var expected = Encoding.UTF8.GetString( ms.ToArray() ).ReplaceLineEndings( "\n" ); var actual = GenerateApiSurface( typeof( SteamKit2.SteamClient ).GetTypeInfo().Assembly );