Skip to content

Commit

Permalink
another try
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgeniyZ committed Jan 27, 2025
1 parent eed640e commit 086449f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public async Task SwaggerEndpoint_ReturnsValidSwaggerJson(

using var swaggerResponse = await client.GetAsync(swaggerRequestUri);
var swagger = await swaggerResponse.Content.ReadAsStringAsync();
await Verifier.Verify(swagger.ReplaceLineEndings())
await Verifier.Verify(swagger)
.UseParameters(startupType, GetVersion(swaggerRequestUri))
.ScrubLinesWithReplace(x => x.ReplaceLineEndings());
.ScrubLinesWithReplace(x => x.ReplaceLineEndings("\r\n"));
}

[Fact]
Expand Down

0 comments on commit 086449f

Please sign in to comment.