Skip to content

Commit dff0cb8

Browse files
committed
Check no warnings for Objective-C when parsing Foundation
1 parent b6d23fc commit dff0cb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CppAst.Tests/TestObjectiveC.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public void TestFoundationIncludes()
2323
compilation =>
2424
{
2525
Assert.False(compilation.HasErrors);
26+
Assert.AreEqual(0, compilation.Diagnostics.Messages.Count, "Parsing foundation headers should not generate warnings"); // No warnings
2627
Assert.IsTrue(compilation.System.Classes.Count > 1000);
2728
}, new()
2829
{

0 commit comments

Comments
 (0)