Skip to content

Commit

Permalink
Update comments in type system tests (#53718)
Browse files Browse the repository at this point in the history
These numbers changed in #53424. One of the reasons why I'm not a huge fan of too much commenting...
  • Loading branch information
MichalStrehovsky committed Jun 4, 2021
1 parent 0d7c498 commit eee7a19
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ public void TestExplicitTypeLayoutWithInheritance()
if (f.Name == "Lol")
{
// First field after base class, with offset 0 so it should lie on the byte count of
// the base class = 24
// the base class = 20
Assert.Equal(20, f.Offset.AsInt);
}
else if (f.Name == "Omg")
{
// Offset 20 from base class byte count = 44
// Offset 20 from base class byte count = 40
Assert.Equal(40, f.Offset.AsInt);
}
else
Expand Down

0 comments on commit eee7a19

Please sign in to comment.