Skip to content

Commit 10d3716

Browse files
committed
rename tests.
1 parent 93ae97b commit 10d3716

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ReflectionAnalyzers.Tests/Helpers/GetXTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class GetXTests
1616
[TestCase("GetType().GetMethod(nameof(this.ToString))", "Foo", null)]
1717
[TestCase("typeof(string).Assembly.GetType(\"System.Int32\").GetMethod(nameof(this.ToString))", "Int32", null)]
1818
[TestCase("typeof(IEnumerable<int>).Assembly.GetType(\"System.Collections.Generic.IEnumerable`1\").GetMethod(nameof(this.ToString))", "IEnumerable`1", null)]
19-
public void TryGetTargetTypeExpression(string call, string expected, string expectedInstance)
19+
public void TryGetTypeFromExpression(string call, string expected, string expectedInstance)
2020
{
2121
var code = @"
2222
namespace RoslynSandbox
@@ -56,7 +56,7 @@ public Foo(Foo foo)
5656
[TestCase("GetType()", "Foo", null)]
5757
[TestCase("typeof(string).Assembly.GetType(\"System.Int32\")", "Int32", null)]
5858
[TestCase("typeof(IEnumerable<int>).Assembly.GetType(\"System.Collections.Generic.IEnumerable`1\")", "IEnumerable`1", null)]
59-
public void TryGetTargetTypeLocal(string typeExpression, string expected, string expectedInstance)
59+
public void TryGetTypeFromLocal(string typeExpression, string expected, string expectedInstance)
6060
{
6161
var code = @"
6262
namespace RoslynSandbox

0 commit comments

Comments
 (0)