Skip to content

Commit

Permalink
Update comments in type system tests
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 authored Jun 4, 2021
1 parent b0b317e commit 1bcba0e
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 1bcba0e

Please sign in to comment.