chore: initial commit
Signed-off-by: Alan Brault <alan.brault@visus.io>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
namespace MapperSourceGen.SourceGenerator.Tests;
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using VerifyTests.DiffPlex;
|
||||
|
||||
public static class ModuleInitializer
|
||||
{
|
||||
#pragma warning disable CA2255
|
||||
[ModuleInitializer]
|
||||
#pragma warning restore CA2255
|
||||
public static void Initialize()
|
||||
{
|
||||
DerivePathInfo((file, _, type, method) => new PathInfo(Path.Combine(Path.GetDirectoryName(file)!, "ref"), type.Name, method.Name));
|
||||
|
||||
VerifySourceGenerators.Initialize();
|
||||
VerifyDiffPlex.Initialize(OutputType.Compact);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user