Skip to content

Commit

Permalink
Merge pull request dotnet#5 from jnm2/simplifyInterpolation
Browse files Browse the repository at this point in the history
Fix test naming convention
  • Loading branch information
CyrusNajmabadi authored Dec 8, 2019
2 parents e3e1682 + e0191cc commit c6b07dd
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal override (DiagnosticAnalyzer, CodeFixProvider) CreateDiagnosticProvider
=> (new CSharpSimplifyInterpolationDiagnosticAnalyzer(), new CSharpSimplifyInterpolationCodeFixProvider());

[Fact]
public async Task ToString_with_no_parameter()
public async Task ToStringWithNoParameter()
{
await TestInRegularAndScriptAsync(
@"class C
Expand All @@ -37,7 +37,7 @@ void M(int someValue)
}

[Fact]
public async Task ToString_with_string_literal_parameter()
public async Task ToStringWithStringLiteralParameter()
{
await TestInRegularAndScriptAsync(
@"class C
Expand All @@ -57,7 +57,7 @@ void M(int someValue)
}

[Fact]
public async Task ToString_with_escape_sequences()
public async Task ToStringWithEscapeSequences()
{
await TestInRegularAndScriptAsync(
@"class C
Expand All @@ -77,7 +77,7 @@ void M(int someValue)
}

[Fact]
public async Task ToString_with_verbatim_string_literal_parameter()
public async Task ToStringWithVerbatimStringLiteralParameter()
{
await TestInRegularAndScriptAsync(
@"class C
Expand All @@ -97,7 +97,7 @@ void M(int someValue)
}

[Fact]
public async Task ToString_with_verbatim_escape_sequences_inside_verbatim_interpolated_string()
public async Task ToStringWithVerbatimEscapeSequencesInsideVerbatimInterpolatedString()
{
await TestInRegularAndScriptAsync(
@"class C
Expand All @@ -117,7 +117,7 @@ void M(int someValue)
}

[Fact]
public async Task ToString_with_verbatim_escape_sequences_inside_non_verbatim_interpolated_string()
public async Task ToStringWithVerbatimEscapeSequencesInsideNonVerbatimInterpolatedString()
{
await TestInRegularAndScriptAsync(
@"class C
Expand All @@ -137,7 +137,7 @@ void M(int someValue)
}

[Fact]
public async Task ToString_with_non_verbatim_escape_sequences_inside_verbatim_interpolated_string()
public async Task ToStringWithNonVerbatimEscapeSequencesInsideVerbatimInterpolatedString()
{
await TestInRegularAndScriptAsync(
@"class C
Expand All @@ -157,7 +157,7 @@ void M(int someValue)
}

[Fact]
public async Task ToString_with_string_constant_parameter()
public async Task ToStringWithStringConstantParameter()
{
await TestMissingInRegularAndScriptAsync(
@"class C
Expand All @@ -171,7 +171,7 @@ void M(int someValue)
}

[Fact]
public async Task ToString_with_character_literal_parameter()
public async Task ToStringWithCharacterLiteralParameter()
{
await TestMissingInRegularAndScriptAsync(
@"class C
Expand All @@ -186,7 +186,7 @@ void M(C someValue)
}

[Fact]
public async Task ToString_with_format_provider()
public async Task ToStringWithFormatProvider()
{
// (If someone is explicitly specifying culture, an implicit form should not be encouraged.)

Expand Down
Loading

0 comments on commit c6b07dd

Please sign in to comment.