diff --git a/src/Http/Http.Extensions/test/ModuleInitializer.cs b/src/Http/Http.Extensions/test/ModuleInitializer.cs new file mode 100644 index 000000000000..2e42614606d4 --- /dev/null +++ b/src/Http/Http.Extensions/test/ModuleInitializer.cs @@ -0,0 +1,11 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Runtime.CompilerServices; + +public static class ModuleInitializer +{ + [ModuleInitializer] + public static void Init() => + VerifySourceGenerators.Initialize(); +} diff --git a/src/Http/Http.Extensions/test/ValidationsGenerator/snapshots/ValidationsGeneratorTests.CanValidateParameters.verified.txt b/src/Http/Http.Extensions/test/ValidationsGenerator/snapshots/ValidationsGeneratorTests.CanValidateParameters.verified.txt deleted file mode 100644 index 22fdca1b2686..000000000000 --- a/src/Http/Http.Extensions/test/ValidationsGenerator/snapshots/ValidationsGeneratorTests.CanValidateParameters.verified.txt +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file