Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianSauer committed Feb 13, 2024
1 parent de3e4d5 commit c6f1da9
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 c6f1da9

Please sign in to comment.