Skip to content

Commit

Permalink
Merge branch 'codecentric:master' into fix-ref-duplicate-names
Browse files Browse the repository at this point in the history
  • Loading branch information
roflmuffin authored Feb 13, 2024
2 parents cabff88 + c6f1da9 commit 28266e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AutomaticInterface/Tests/GeneratorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1626,6 +1626,7 @@ class DemoClass
// </auto-generated>
//--------------------------------------------------------------------------------------------------

#nullable enable
using System.CodeDom.Compiler;
using AutomaticInterfaceAttribute;
using System;
Expand All @@ -1643,6 +1644,7 @@ public partial interface IDemoClass

}
}
#nullable restore

""";
GenerateCode(code).Should().Be(expected);
Expand Down Expand Up @@ -1742,6 +1744,7 @@ class DemoClass
// </auto-generated>
//--------------------------------------------------------------------------------------------------

#nullable enable
using System.CodeDom.Compiler;
using AutomaticInterfaceAttribute;
using System;
Expand All @@ -1759,6 +1762,7 @@ public partial interface IDemoClass

}
}
#nullable restore

""";
GenerateCode(code).Should().Be(expected);
Expand Down

0 comments on commit 28266e1

Please sign in to comment.