Skip to content

Commit

Permalink
Turn Tests Back On
Browse files Browse the repository at this point in the history
  • Loading branch information
justindbaur committed Nov 10, 2024
1 parent 98a62ae commit 6a05ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/SourceGeneratorTests/TestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public async Task RunAndCompareAsync(string source, [CallerMemberName] string te
private void CompareAgainstBaseline(GeneratedSourceResult result, string testMethodName)
{
var normalizedName = result.HintName[..^3].Replace('.', '_') + ".cs";
#if GENERATE_SOURCE
#if !GENERATE_SOURCE
var resultFileName = result.HintName.Replace('.', '_');
var baseLineName = $"{GetType().Name}.{testMethodName}.{normalizedName}";
var resourceName = Assert.Single(typeof(TestBase).Assembly.GetManifestResourceNames()
Expand Down

0 comments on commit 6a05ee3

Please sign in to comment.