Skip to content

Commit 3cac8ad

Browse files
committed
Make DiagnosticLocation assert public
1 parent 0efa0e8 commit 3cac8ad

File tree

1 file changed

+3
-2
lines changed
  • src/Microsoft.AspNetCore.Analyzer.Testing

1 file changed

+3
-2
lines changed

src/Microsoft.AspNetCore.Analyzer.Testing/Assert.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using Microsoft.CodeAnalysis;
5+
using Xunit.Sdk;
56

67
namespace Microsoft.AspNetCore.Analyzer.Testing
78
{
8-
internal class Assert : Xunit.Assert
9+
public class AnalyzerAssert
910
{
1011
public static void DiagnosticLocation(DiagnosticLocation expected, Location actual)
1112
{
@@ -37,7 +38,7 @@ public static void DiagnosticLocation(DiagnosticLocation expected, Location actu
3738
}
3839
}
3940

40-
private class DiagnosticLocationAssertException : Xunit.Sdk.EqualException
41+
private class DiagnosticLocationAssertException : EqualException
4142
{
4243
public DiagnosticLocationAssertException(
4344
DiagnosticLocation expected,

0 commit comments

Comments
 (0)