Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
sungam3r committed Jan 29, 2024
1 parent 1a09a7d commit b70a4c0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public void AttributesAreConsultedWhenDestructuring()
props["Struct1"].LiteralValue().ShouldBeOfType<Struct1>();
props["Struct2"].LiteralValue().ShouldBeOfType<Struct2>();
props["StructReturningNull"].LiteralValue().ShouldBeNull();
props["StructNull"].LiteralValue().ShouldBeNull();

var str = sv.ToString();
str.Contains("This is a username").ShouldBeTrue();
Expand Down Expand Up @@ -156,6 +157,9 @@ public class Customized

[LogAsScalar(isMutable: true)]
public StructReturningNull StructReturningNull { get; set; }

[LogAsScalar(isMutable: true)]
public StructReturningNull? StructNull { get; set; }
}

public class UserAuthData
Expand Down

0 comments on commit b70a4c0

Please sign in to comment.