Skip to content

Commit bba8ce0

Browse files
committed
Updated naming of internal methods.
1 parent 0432679 commit bba8ce0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/SourceGeneratorTestHelpers/GeneratorDriverRunResultExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static IEnumerable<GeneratedSource> GetSources(this GeneratorDriverRunRes
5959
/// <param name="assertOnErrors"><see langword="true" /> to assert on reported errors by the source generator, <see langword="false" /> othwerwise.</param>
6060
/// <param name="assertAction">The action to perform when an assertion fails. This typically involves throwing an exception with a descriptive error message.</param>
6161
/// <exception cref="ArgumentNullException">If <paramref name="result" /> is null.</exception>
62-
internal static void ShouldProduce(this GeneratorDriverRunResult result, string filePathEndsWith, string expectedSource, bool assertOnErrors, Action<string> assertAction)
62+
internal static void InternalShouldProduce(this GeneratorDriverRunResult result, string filePathEndsWith, string expectedSource, bool assertOnErrors, Action<string> assertAction)
6363
{
6464
var generatedSource = GetSource(result, filePathEndsWith);
6565

@@ -93,4 +93,4 @@ internal static void ShouldProduce(this GeneratorDriverRunResult result, string
9393
if (hasDifferences)
9494
assertAction($"There was a difference in the expected output generated by the source generator.\n\n{differences}");
9595
}
96-
}
96+
}

src/SourceGeneratorTestHelpers/SourceGeneratorTestHelpers.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<Nullable>enable</Nullable>
77
<RootNamespace>SourceGeneratorTestHelpers</RootNamespace>
88
<LangVersion>latest</LangVersion>
9-
<Version>8.0.5</Version>
9+
<Version>8.0.6</Version>
1010
<Title>SourceGeneratorTestHelpers</Title>
1111
<Authors>Jean-Sebastien Carle</Authors>
1212
<Description>Test helpers and extension methods to simplify testing of .NET source generators.</Description>
@@ -18,8 +18,8 @@
1818
<RepositoryUrl>https://github.com/jscarle/SourceGeneratorTestHelpers</RepositoryUrl>
1919
<RepositoryType>git</RepositoryType>
2020
<PackageTags>testing source-generators</PackageTags>
21-
<AssemblyVersion>8.0.5.0</AssemblyVersion>
22-
<FileVersion>8.0.5.0</FileVersion>
21+
<AssemblyVersion>8.0.6.0</AssemblyVersion>
22+
<FileVersion>8.0.6.0</FileVersion>
2323
<NeutralLanguage>en-US</NeutralLanguage>
2424
<IncludeSymbols>true</IncludeSymbols>
2525
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

0 commit comments

Comments
 (0)