Skip to content

Commit

Permalink
Update JsonConverterTest.cs to ignoreLineEndingDifferences
Browse files Browse the repository at this point in the history
  • Loading branch information
yufeih authored Jan 3, 2024
1 parent e7e134e commit af2b93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/docfx.Tests/JsonConverterTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void TestJObjectDictionaryToObjectDictionaryConverterSerializeAndDeserial
ContractResolver = new SkipEmptyOrNullContractResolver()
};

Assert.Equal(jsonString, JsonConvert.SerializeObject(buildOptions, settings));
Assert.Equal(jsonString, JsonConvert.SerializeObject(buildOptions, settings), ignoreLineEndingDifferences: true);
}

[Fact]
Expand Down

0 comments on commit af2b93d

Please sign in to comment.