Skip to content

Commit

Permalink
#928 added unit tests + fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chp2y committed Nov 22, 2018
1 parent 6cde19b commit 1b3b595
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions test/CSharp/CodeCracker.Test/Style/SwitchToAutoPropTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -267,29 +267,6 @@ public int Id
await VerifyCSharpHasNoDiagnosticsAsync(source, LanguageVersion.CSharp5);
}

[Fact]
public async Task IgnoresWhenAssigningToAFieldFromAnotherClassWithUsingStatic()
{
const string source = @"
namespace ConsoleApplication1
{
using static AnotherType;
class AnotherType
{
public static int otherId = 1;
}
class TypeName
{
public int Id
{
get { return otherId; }
set { otherId = value; }
}
}
}";
await VerifyCSharpHasNoDiagnosticsAsync(source);
}

[Fact]
public async Task IgnoresWhenPropertyIsUsedWithOut()
{
Expand Down

0 comments on commit 1b3b595

Please sign in to comment.