Skip to content

Commit 8d88c39

Browse files
committed
Add ValidationsGenerator snapshots to HelixContent
1 parent 9192d03 commit 8d88c39

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Http/Http.Extensions/test/Microsoft.AspNetCore.Http.Extensions.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,6 @@
4545

4646
<ItemGroup>
4747
<HelixContent Include="$(MSBuildProjectDirectory)\RequestDelegateGenerator\Baselines\**" />
48+
<HelixContent Include="$(MSBuildProjectDirectory)\ValidationsGenerator\snapshots\**" />
4849
</ItemGroup>
4950
</Project>

src/Http/Http.Extensions/test/ValidationsGenerator/ValidationsGeneratorTestBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ internal static Task Verify(string source, out Compilation compilation)
6161
return Verifier
6262
.Verify(driver.RunGeneratorsAndUpdateCompilation(inputCompilation, out compilation, out var diagnostics))
6363
.UseDirectory(SkipOnHelixAttribute.OnHelix()
64-
? Path.Combine(Environment.GetEnvironmentVariable("HELIX_WORKITEM_ROOT"), "snapshots")
64+
? Path.Combine(Environment.GetEnvironmentVariable("HELIX_WORKITEM_ROOT"), "ValidationsGenerator", "snapshots")
6565
: "snapshots");
6666
}
6767

0 commit comments

Comments
 (0)