Make sure pre-packed values are added in comments #4482
Annotations
2 errors
Run tests:
tests/Lynx.Generator.Test/GeneratedPackTest.cs#L39
VerifyException : Directory: D:\a\Lynx\Lynx\tests\Lynx.Generator.Test\Snapshots
NotEqual:
- Received: GeneratedPackTest.NonStaticClass#TestClass.g.received.cs
Verified: GeneratedPackTest.NonStaticClass#TestClass.g.verified.cs
Equal:
- Received: GeneratedPackTest.NonStaticClass#GeneratedPackAttribute.g.received.cs
Verified: GeneratedPackTest.NonStaticClass#GeneratedPackAttribute.g.verified.cs
FileContent:
NotEqual:
Received: GeneratedPackTest.NonStaticClass#TestClass.g.received.cs
//HintName: TestClass.g.cs
namespace Lynx.Generator;
static partial class TestClass
{
public const int TestConstant = 131071; // Pack( -1, 2)
}
Verified: GeneratedPackTest.NonStaticClass#TestClass.g.verified.cs
//HintName: TestClass.g.cs
namespace Lynx.Generator;
static partial class TestClass
{
public const int TestConstant = 131071;
}
|
Run tests
Process completed with exit code 1.
|
Loading