From 50dec192aa1d1ce48add9e50d2a9057879bd0332 Mon Sep 17 00:00:00 2001 From: Brad Wilson Date: Wed, 5 Jun 2024 10:12:19 -0700 Subject: [PATCH] Update dependencies --- ...DataAttributeMustPointAtValidClassTests.cs | 75 +----- ...mberDataShouldReferenceValidMemberTests.cs | 228 ++++-------------- .../Utility/CodeAnalysisNetAnalyzers.cs | 4 +- .../Utility/CodeAnalyzerHelper.cs | 16 +- .../xunit.analyzers.tests.csproj | 14 +- 5 files changed, 80 insertions(+), 257 deletions(-) diff --git a/src/xunit.analyzers.tests/Analyzers/X1000/ClassDataAttributeMustPointAtValidClassTests.cs b/src/xunit.analyzers.tests/Analyzers/X1000/ClassDataAttributeMustPointAtValidClassTests.cs index 277ffcb3..1756da84 100644 --- a/src/xunit.analyzers.tests/Analyzers/X1000/ClassDataAttributeMustPointAtValidClassTests.cs +++ b/src/xunit.analyzers.tests/Analyzers/X1000/ClassDataAttributeMustPointAtValidClassTests.cs @@ -54,45 +54,6 @@ class DataClass: IEnumerable> { public class DataClass : IAsyncEnumerable> { public IAsyncEnumerator> GetAsyncEnumerator(CancellationToken cancellationToken = default) => null; -}" }, - // IAsyncEnumerable maps to int - { "(int n)", @" -using System.Collections.Generic; -using System.Threading; -using Xunit; - -public class DerivedTheoryDataRow : TheoryDataRow { - public DerivedTheoryDataRow(int t) : base(t) { } -} - -public class DataClass : IAsyncEnumerable { - public IAsyncEnumerator GetAsyncEnumerator(CancellationToken cancellationToken = default) => null; -}" }, - // IAsyncEnumerable> maps to int - { "(int n)", @" -using System.Collections.Generic; -using System.Threading; -using Xunit; - -public class DerivedTheoryDataRow : TheoryDataRow { - public DerivedTheoryDataRow(T t) : base(t) { } -} - -public class DataClass : IAsyncEnumerable> { - public IAsyncEnumerator> GetAsyncEnumerator(CancellationToken cancellationToken = default) => null; -}" }, - // IAsyncEnumerable> maps to int - { "(int n)", @" -using System.Collections.Generic; -using System.Threading; -using Xunit; - -public class DerivedTheoryDataRow : TheoryDataRow { - public DerivedTheoryDataRow(T t, U u) : base(t) { } -} - -public class DataClass : IAsyncEnumerable> { - public IAsyncEnumerator> GetAsyncEnumerator(CancellationToken cancellationToken = default) => null; }" }, // IAsyncEnumerable> with optional parameter { "(int n, int p = 0)", @" @@ -282,23 +243,17 @@ public class DataClass : IAsyncEnumerable { public class X1037_TheoryDataTypeArgumentsMustMatchTestMethodParameters_TooFewTypeParameters { - [Theory] - [InlineData("TheoryDataRow")] - [InlineData("DerivedTheoryDataRow")] - public async Task NotEnoughTypeParameters_Triggers(string theoryDataRowType) + [Fact] + public async Task NotEnoughTypeParameters_Triggers() { - var source = $@" + var source = @" using System.Collections.Generic; using System.Threading; using Xunit; -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(T t, U u) : base(t) {{ }} -}} - -public class DataClass : IAsyncEnumerable<{theoryDataRowType}> {{ - public IAsyncEnumerator<{theoryDataRowType}> GetAsyncEnumerator(CancellationToken cancellationToken = default) => null; -}}"; +public class DataClass : IAsyncEnumerable> { + public IAsyncEnumerator> GetAsyncEnumerator(CancellationToken cancellationToken = default) => null; +}"; var expected = Verify @@ -313,23 +268,17 @@ public class DataClass : IAsyncEnumerable<{theoryDataRowType}> {{ public class X1038_TheoryDataTypeArgumentsMustMatchTestMethodParameters_ExtraTypeParameters { - [Theory] - [InlineData("TheoryDataRow")] - [InlineData("DerivedTheoryDataRow")] - public async Task TooManyTypeParameters_Triggers(string theoryDataRowType) + [Fact] + public async Task TooManyTypeParameters_Triggers() { - var source = $@" + var source = @" using System.Collections.Generic; using System.Threading; using Xunit; -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(T t) : base(t, 21.12) {{ }} -}} - -public class DataClass : IAsyncEnumerable<{theoryDataRowType}> {{ - public IAsyncEnumerator<{theoryDataRowType}> GetAsyncEnumerator(CancellationToken cancellationToken = default) => null; -}}"; +public class DataClass : IAsyncEnumerable> { + public IAsyncEnumerator> GetAsyncEnumerator(CancellationToken cancellationToken = default) => null; +}"; var expected = Verify diff --git a/src/xunit.analyzers.tests/Analyzers/X1000/MemberDataShouldReferenceValidMemberTests.cs b/src/xunit.analyzers.tests/Analyzers/X1000/MemberDataShouldReferenceValidMemberTests.cs index 44f199c6..d92defb5 100644 --- a/src/xunit.analyzers.tests/Analyzers/X1000/MemberDataShouldReferenceValidMemberTests.cs +++ b/src/xunit.analyzers.tests/Analyzers/X1000/MemberDataShouldReferenceValidMemberTests.cs @@ -915,41 +915,18 @@ public void TestMethod(int n, string f) {{ }} await Verify.VerifyAnalyzer(source, expected); } - - [Theory] - [MemberData(nameof(MemberSyntaxAndArgs))] - public async Task ValidSubclassedTheoryDataRowMemberWithNotEnoughTypeParameters_Triggers( - string memberSyntax, - string memberArgs) - { - var source = $@" -using System.Collections.Generic; -using Xunit; - -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(T t, U u) : base(t) {{ }} -}} - -public class TestClass {{ - public static List> TestData{memberSyntax}null; - - [MemberData(nameof(TestData){memberArgs})] - public void TestMethod(int n, string f) {{ }} -}}"; - - var expected = - Verify - .Diagnostic("xUnit1037") - .WithSpan(12, 6, 12, 34 + memberArgs.Length) - .WithSeverity(DiagnosticSeverity.Error) - .WithArguments("Xunit.TheoryDataRow"); - - await Verify.VerifyAnalyzerV3(source, expected); - } } public class X1038_TheoryDataTypeArgumentsMustMatchTestMethodParameters_ExtraTypeParameters { + public static TheoryData MemberSyntaxAndArgs() => + new() { + { " = ", "" }, // Field + { " => ", "" }, // Property + { "() => ", "" }, // Method w/o args + { "(int n) => ", ", 42" }, // Method w/ args + }; + public static MatrixTheoryData<(string syntax, string args), string> MemberSyntaxAndArgs_WithTheoryDataType(string theoryDataTypes) => new( new[] @@ -967,23 +944,6 @@ public class X1038_TheoryDataTypeArgumentsMustMatchTestMethodParameters_ExtraTyp } ); - public static MatrixTheoryData<(string syntax, string args), string> MemberSyntaxAndArgs_WithTheoryDataRowType(string theoryDataTypes) => - new( - new[] - { - ( " = ", "" ), // Field - ( " => ", "" ), // Property - ( "() => ", "" ), // Method w/o args - ( "(int n) => ", ", 42" ), // Method w/ args - }, - new[] - { - $"TheoryDataRow<{theoryDataTypes}>", - "DerivedTheoryDataRow", - $"DerivedTheoryDataRow<{theoryDataTypes}>" - } - ); - [Theory] [MemberData(nameof(MemberSyntaxAndArgs_WithTheoryDataType), "int", DisableDiscoveryEnumeration = true)] public async Task ValidTheoryData_DoesNotTrigger( @@ -1007,26 +967,19 @@ public void TestMethod(int n) {{ }} } [Theory] - [MemberData(nameof(MemberSyntaxAndArgs_WithTheoryDataRowType), "int", DisableDiscoveryEnumeration = true)] + [MemberData(nameof(MemberSyntaxAndArgs))] public async Task ValidTheoryDataRow_DoesNotTrigger( - (string syntax, string args) member, - string theoryDataRowType) + string memberSyntax, + string memberArgs) { var source = $@" using System.Collections.Generic; using Xunit; -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(int value) : base(value) {{ }} -}} -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(T value) : base(value) {{ }} -}} - public class TestClass {{ - public static IEnumerable<{theoryDataRowType}> TestData{member.syntax}new List<{theoryDataRowType}>(); + public static IEnumerable> TestData{memberSyntax}new List>(); - [MemberData(nameof(TestData){member.args})] + [MemberData(nameof(TestData){memberArgs})] public void TestMethod(int n) {{ }} }}"; @@ -1056,26 +1009,19 @@ public void TestMethod(int n, int a = 0) {{ }} } [Theory] - [MemberData(nameof(MemberSyntaxAndArgs_WithTheoryDataRowType), "int", DisableDiscoveryEnumeration = true)] + [MemberData(nameof(MemberSyntaxAndArgs))] public async Task ValidTheoryDataRowWithOptionalParameters_DoesNotTrigger( - (string syntax, string args) member, - string theoryDataRowType) + string memberSyntax, + string memberArgs) { var source = $@" using System.Collections.Generic; using Xunit; -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(int value) : base(value) {{ }} -}} -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(T value) : base(value) {{ }} -}} - public class TestClass {{ - public static {theoryDataRowType}[] TestData{member.syntax}new {theoryDataRowType}[0]; + public static TheoryDataRow[] TestData{memberSyntax}new TheoryDataRow[0]; - [MemberData(nameof(TestData){member.args})] + [MemberData(nameof(TestData){memberArgs})] public void TestMethod(int n, int a = 0) {{ }} }}"; @@ -1105,26 +1051,19 @@ public void TestMethod(int n, params int[] a) {{ }} } [Theory] - [MemberData(nameof(MemberSyntaxAndArgs_WithTheoryDataRowType), "int", DisableDiscoveryEnumeration = true)] + [MemberData(nameof(MemberSyntaxAndArgs))] public async Task ValidTheoryDataRowWithNoValuesForParamsArray_DoesNotTrigger( - (string syntax, string args) member, - string theoryDataRowType) + string memberSyntax, + string memberArgs) { var source = $@" using System.Collections.Generic; using Xunit; -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(int value) : base(value) {{ }} -}} -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(T value) : base(value) {{ }} -}} - public class TestClass {{ - public static ICollection<{theoryDataRowType}> TestData{member.syntax}new List<{theoryDataRowType}>(); + public static ICollection> TestData{memberSyntax}new List>(); - [MemberData(nameof(TestData){member.args})] + [MemberData(nameof(TestData){memberArgs})] public void TestMethod(int n, params int[] a) {{ }} }}"; @@ -1154,26 +1093,19 @@ public void TestMethod(int n, params int[] a) {{ }} } [Theory] - [MemberData(nameof(MemberSyntaxAndArgs_WithTheoryDataRowType), "int, int", DisableDiscoveryEnumeration = true)] + [MemberData(nameof(MemberSyntaxAndArgs))] public async Task ValidTheoryDataRowWithSingleValueForParamsArray_DoesNotTrigger( - (string syntax, string args) member, - string theoryDataRowType) + string memberSyntax, + string memberArgs) { var source = $@" using System.Collections.Generic; using Xunit; -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(int p1, int p2) : base(p1, p2) {{ }} -}} -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(T1 p1, T2 p2) : base(p1, p2) {{ }} -}} - public class TestClass {{ - public static IEnumerable<{theoryDataRowType}> TestData{member.syntax}new List<{theoryDataRowType}>(); + public static IEnumerable> TestData{memberSyntax}new List>(); - [MemberData(nameof(TestData){member.args})] + [MemberData(nameof(TestData){memberArgs})] public void TestMethod(int n, params int[] a) {{ }} }}"; @@ -1203,26 +1135,19 @@ public void TestMethod(T n) {{ }} } [Theory] - [MemberData(nameof(MemberSyntaxAndArgs_WithTheoryDataRowType), "int", DisableDiscoveryEnumeration = true)] + [MemberData(nameof(MemberSyntaxAndArgs))] public async Task ValidTheoryDataRowWithGenericTestParameter_DoesNotTrigger( - (string syntax, string args) member, - string theoryDataRowType) + string memberSyntax, + string memberArgs) { var source = $@" using System.Collections.Generic; using Xunit; -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(int value) : base(value) {{ }} -}} -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(T value) : base(value) {{ }} -}} - public class TestClass {{ - public static ISet<{theoryDataRowType}> TestData{member.syntax}new HashSet<{theoryDataRowType}>(); + public static ISet> TestData{memberSyntax}new HashSet>(); - [MemberData(nameof(TestData){member.args})] + [MemberData(nameof(TestData){memberArgs})] public void TestMethod(T n) {{ }} }}"; @@ -1254,10 +1179,10 @@ public void TestMethod(T? n) {{ }} } [Theory] - [MemberData(nameof(MemberSyntaxAndArgs_WithTheoryDataRowType), "int", DisableDiscoveryEnumeration = true)] + [MemberData(nameof(MemberSyntaxAndArgs))] public async Task ValidTheoryDataRowWithNullableGenericTestParameter_DoesNotTrigger( - (string syntax, string args) member, - string theoryDataRowType) + string memberSyntax, + string memberArgs) { var source = $@" #nullable enable @@ -1265,17 +1190,10 @@ public async Task ValidTheoryDataRowWithNullableGenericTestParameter_DoesNotTrig using System.Collections.Generic; using Xunit; -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(int value) : base(value) {{ }} -}} -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(T value) : base(value) {{ }} -}} - public class TestClass {{ - public static IEnumerable<{theoryDataRowType}> TestData{member.syntax}new List<{theoryDataRowType}>(); + public static IEnumerable> TestData{memberSyntax}new List>(); - [Xunit.MemberData(nameof(TestData){member.args})] + [Xunit.MemberData(nameof(TestData){memberArgs})] public void TestMethod(T? n) {{ }} }}"; @@ -1283,10 +1201,7 @@ public void TestMethod(T? n) {{ }} } [Theory] - [InlineData(" = ", "")] // Field - [InlineData(" => ", "")] // Property - [InlineData("() => ", "")] // Method w/o args - [InlineData("(int n) => ", ", 42")] // Method w/ args + [MemberData(nameof(MemberSyntaxAndArgs))] public async Task ValidTheoryDataDoubleGenericSubclassMember_DoesNotTrigger( string memberSyntax, string memberArgs) @@ -1306,33 +1221,6 @@ public void TestMethod(int n) {{ }} await Verify.VerifyAnalyzer(source); } - [Theory] - [InlineData(" = ", "")] // Field - [InlineData(" => ", "")] // Property - [InlineData("() => ", "")] // Method w/o args - [InlineData("(int n) => ", ", 42")] // Method w/ args - public async Task ValidTheoryDataRowDoubleGenericSubclassMember_DoesNotTrigger( - string memberSyntax, - string memberArgs) - { - var source = $@" -using System.Collections.Generic; -using Xunit; - -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(T t, U u) : base(t) {{ }} -}} - -public class TestClass {{ - public static IList> TestData{memberSyntax}new List>(); - - [MemberData(nameof(TestData){memberArgs})] - public void TestMethod(int n) {{ }} -}}"; - - await Verify.VerifyAnalyzerV3(source); - } - [Fact] public async Task WithIntArrayArguments_DoesNotTrigger() { @@ -1384,33 +1272,26 @@ public void TestMethod(int n) {{ }} } [Theory] - [MemberData(nameof(MemberSyntaxAndArgs_WithTheoryDataRowType), "int, string", DisableDiscoveryEnumeration = true)] + [MemberData(nameof(MemberSyntaxAndArgs))] public async Task ValidSubclassTheoryDataRowMemberWithTooManyTypeParameters_Triggers( - (string syntax, string args) member, - string theoryDataRowType) + string memberSyntax, + string memberArgs) { var source = $@" using System.Collections.Generic; using Xunit; -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(int p1, string p2) : base(p1, p2) {{ }} -}} -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(T1 p1, T2 p2) : base(p1, p2) {{ }} -}} - public class TestClass {{ - public static IEnumerable<{theoryDataRowType}> TestData{member.syntax}new List<{theoryDataRowType}>(); + public static IEnumerable> TestData{memberSyntax}new List>(); - [MemberData(nameof(TestData){member.args})] + [MemberData(nameof(TestData){memberArgs})] public void TestMethod(int n) {{ }} }}"; var expected = Verify .Diagnostic("xUnit1038") - .WithSpan(15, 6, 15, 34 + member.args.Length) + .WithSpan(8, 6, 8, 34 + memberArgs.Length) .WithSeverity(DiagnosticSeverity.Error) .WithArguments("Xunit.TheoryDataRow"); @@ -1447,33 +1328,26 @@ public void PuzzleOne(int _1, params string[] _2) {{ }} } [Theory] - [MemberData(nameof(MemberSyntaxAndArgs_WithTheoryDataRowType), "int, string[], string", DisableDiscoveryEnumeration = true)] + [MemberData(nameof(MemberSyntaxAndArgs))] public async Task ExtraTheoryDataRowTypeExistsPastArrayForParamsArray_Triggers( - (string syntax, string args) member, - string theoryDataType) + string memberSyntax, + string memberArgs) { var source = $@" using System.Collections.Generic; using Xunit; -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(int p1, string[] p2, string p3) : base(p1, p2, p3) {{ }} -}} -public class DerivedTheoryDataRow : TheoryDataRow {{ - public DerivedTheoryDataRow(T1 p1, T2 p2, T3 p3) : base(p1, p2, p3) {{ }} -}} - public class TestClass {{ - public static ICollection<{theoryDataType}> TestData{member.syntax}new {theoryDataType}[0]; + public static ICollection> TestData{memberSyntax}new TheoryDataRow[0]; - [MemberData(nameof(TestData){member.args})] + [MemberData(nameof(TestData){memberArgs})] public void PuzzleOne(int _1, params string[] _2) {{ }} }}"; var expected = Verify .Diagnostic("xUnit1038") - .WithSpan(15, 6, 15, 34 + member.args.Length) + .WithSpan(8, 6, 8, 34 + memberArgs.Length) .WithSeverity(DiagnosticSeverity.Error) .WithArguments("Xunit.TheoryDataRow"); diff --git a/src/xunit.analyzers.tests/Utility/CodeAnalysisNetAnalyzers.cs b/src/xunit.analyzers.tests/Utility/CodeAnalysisNetAnalyzers.cs index 6ca04a59..a9a44966 100644 --- a/src/xunit.analyzers.tests/Utility/CodeAnalysisNetAnalyzers.cs +++ b/src/xunit.analyzers.tests/Utility/CodeAnalysisNetAnalyzers.cs @@ -54,13 +54,13 @@ static Assembly LoadCSharpNetAnalyzers() // Make sure we load the dependencies first var _ = assemblyNetAnalyzers.Value; - return AssemblyLoadContext.Default.LoadFromAssemblyPath(Path.Combine(NuGetPackagesFolder, "microsoft.codeanalysis.netanalyzers", "9.0.0-preview.24072.1", "analyzers", "dotnet", "cs", "Microsoft.CodeAnalysis.CSharp.NetAnalyzers.dll")); + return AssemblyLoadContext.Default.LoadFromAssemblyPath(Path.Combine(NuGetPackagesFolder, "microsoft.codeanalysis.netanalyzers", "9.0.0-preview.24216.2", "analyzers", "dotnet", "cs", "Microsoft.CodeAnalysis.CSharp.NetAnalyzers.dll")); } static Assembly LoadNetAnalyzers() { AssemblyLoadContext.Default.LoadFromAssemblyPath(Path.Combine(NuGetPackagesFolder, "microsoft.codeanalysis.workspaces.common", "3.11.0", "lib", "netcoreapp3.1", "Microsoft.CodeAnalysis.Workspaces.dll")); - return AssemblyLoadContext.Default.LoadFromAssemblyPath(Path.Combine(NuGetPackagesFolder, "microsoft.codeanalysis.netanalyzers", "9.0.0-preview.24072.1", "analyzers", "dotnet", "cs", "Microsoft.CodeAnalysis.NetAnalyzers.dll")); + return AssemblyLoadContext.Default.LoadFromAssemblyPath(Path.Combine(NuGetPackagesFolder, "microsoft.codeanalysis.netanalyzers", "9.0.0-preview.24216.2", "analyzers", "dotnet", "cs", "Microsoft.CodeAnalysis.NetAnalyzers.dll")); } } diff --git a/src/xunit.analyzers.tests/Utility/CodeAnalyzerHelper.cs b/src/xunit.analyzers.tests/Utility/CodeAnalyzerHelper.cs index 667089ff..891333a1 100644 --- a/src/xunit.analyzers.tests/Utility/CodeAnalyzerHelper.cs +++ b/src/xunit.analyzers.tests/Utility/CodeAnalyzerHelper.cs @@ -39,8 +39,8 @@ static CodeAnalyzerHelper() new PackageIdentity("System.Collections.Immutable", "1.6.0"), new PackageIdentity("System.Threading.Tasks.Extensions", "4.5.4"), new PackageIdentity("xunit.abstractions", "2.0.3"), - new PackageIdentity("xunit.assert", "2.8.1-pre.14"), - new PackageIdentity("xunit.core", "2.8.1-pre.14") + new PackageIdentity("xunit.assert", "2.8.2-pre.9"), + new PackageIdentity("xunit.core", "2.8.2-pre.9") ) ); @@ -51,7 +51,7 @@ static CodeAnalyzerHelper() new PackageIdentity("System.Collections.Immutable", "1.6.0"), new PackageIdentity("System.Threading.Tasks.Extensions", "4.5.4"), new PackageIdentity("xunit.abstractions", "2.0.3"), - new PackageIdentity("xunit.runner.utility", "2.8.1-pre.14") + new PackageIdentity("xunit.runner.utility", "2.8.2-pre.9") ) ); @@ -61,9 +61,9 @@ static CodeAnalyzerHelper() new PackageIdentity("Microsoft.Extensions.Primitives", "8.0.0"), new PackageIdentity("System.Threading.Tasks.Extensions", "4.5.4"), new PackageIdentity("System.Text.Json", "8.0.0"), - new PackageIdentity("xunit.v3.assert", "0.1.1-pre.428"), - new PackageIdentity("xunit.v3.common", "0.1.1-pre.428"), - new PackageIdentity("xunit.v3.extensibility.core", "0.1.1-pre.428") + new PackageIdentity("xunit.v3.assert", "0.1.1-pre.445"), + new PackageIdentity("xunit.v3.common", "0.1.1-pre.445"), + new PackageIdentity("xunit.v3.extensibility.core", "0.1.1-pre.445") ) ); @@ -73,8 +73,8 @@ static CodeAnalyzerHelper() new PackageIdentity("Microsoft.Extensions.Primitives", "8.0.0"), new PackageIdentity("System.Threading.Tasks.Extensions", "4.5.4"), new PackageIdentity("System.Text.Json", "8.0.0"), - new PackageIdentity("xunit.v3.common", "0.1.1-pre.428"), - new PackageIdentity("xunit.v3.runner.utility", "0.1.1-pre.428") + new PackageIdentity("xunit.v3.common", "0.1.1-pre.445"), + new PackageIdentity("xunit.v3.runner.utility", "0.1.1-pre.445") ) ); } diff --git a/src/xunit.analyzers.tests/xunit.analyzers.tests.csproj b/src/xunit.analyzers.tests/xunit.analyzers.tests.csproj index f13380ef..43f6a0a7 100644 --- a/src/xunit.analyzers.tests/xunit.analyzers.tests.csproj +++ b/src/xunit.analyzers.tests/xunit.analyzers.tests.csproj @@ -12,15 +12,15 @@ - - - - - - + + + + + + - +