We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b0e985 commit 7e8a29eCopy full SHA for 7e8a29e
1 file changed
src/Castle.Core.Tests/PublicApiTestCase.cs
@@ -80,7 +80,9 @@ public void PublicApi()
80
if (compare)
81
{
82
Assert.IsTrue(File.Exists(assemblyRefPath), $"ref/{assemblyName}-{framework}.cs does not exist");
83
- Assert.AreEqual(publicApi, File.ReadAllText(assemblyRefPath), $"ref/{assemblyName}-{framework}.cs does not match {assemblyName}.dll");
+
84
+ string expectedPublicApi = string.Join(Environment.NewLine, File.ReadAllLines(assemblyRefPath));
85
+ Assert.AreEqual(expectedPublicApi, publicApi, $"ref/{assemblyName}-{framework}.cs does not match {assemblyName}.dll");
86
}
87
else
88
0 commit comments