Skip to content

Commit

Permalink
Update line endings for Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwadams committed Sep 27, 2024
1 parent b75fcd1 commit d75d697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Solutions/Corvus.Json.Specs/Steps/JsonValueSteps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public void ThenTheRound_TrippedResultShouldBeEqualToTheJsonAny(string expected)
[Then("the serialized string should equal (.*)")]
public void ThenTheSerializedStringShouldEqual(string expected)
{
Assert.AreEqual(expected.Replace("\\r", "\r").Replace("\\n", "\n"), this.scenarioContext.Get<string>(SerializationResult));
Assert.AreEqual(expected.Replace("\\r\\n", Environment.NewLine), this.scenarioContext.Get<string>(SerializationResult));
}

/* notAny */
Expand Down

0 comments on commit d75d697

Please sign in to comment.