Skip to content

Commit

Permalink
Avoid hard-coded strings
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-englert committed Mar 25, 2023
1 parent 282c1d8 commit 2043608
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public async Task TestValidateAddedSourceCSharp()
TestState =
{
Sources = { "class MainClass : TestClass { }" },
GeneratedSources = { (typeof(GenerateSourceFile), "Generated.g.cs", "class TestClass { }") },
GeneratedSources = { (typeof(GenerateSourceFile), GenerateSourceFile.CSharpFileName, GenerateSourceFile.CSharpSource) },
},
}.RunAsync();
}
Expand All @@ -44,7 +44,7 @@ public async Task TestValidateAddedSourceVisualBasic()
TestState =
{
Sources = { "Class MainClass : Inherits TestClass : End Class" },
GeneratedSources = { (typeof(GenerateSourceFile), "Generated.g.vb", "Class TestClass : End Class") },
GeneratedSources = { (typeof(GenerateSourceFile), GenerateSourceFile.VisualBasicFileName, GenerateSourceFile.VisualBasicSource) },
},
}.RunAsync();
}
Expand Down

0 comments on commit 2043608

Please sign in to comment.