Skip to content

Commit 23fd386

Browse files
committed
update test
1 parent 9740d07 commit 23fd386

File tree

1 file changed

+4
-3
lines changed
  • src/SourceGeneration.Reflection.SourceGenerator.Test

1 file changed

+4
-3
lines changed

src/SourceGeneration.Reflection.SourceGenerator.Test/UnitTest1.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ public void TestMethod1()
1919
namespace SourceGeneration.Reflection.Sample2
2020
{
2121
[SourceReflection]
22-
public class TestClass
23-
{
24-
public T InvokeStructConstraint<T>(T t) where T: struct => t;
22+
public class BaseClass
23+
{
24+
public int A { get; set; } = 1;
25+
public int B = 2;
2526
}
2627
}
2728
""";

0 commit comments

Comments
 (0)