Browse Source

Fixed failing unit test.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4337 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Matt Ward 17 years ago
parent
commit
a489ea1e63
  1. 8
      src/Libraries/NRefactory/Test/Output/CSharp/VBNetToCSharpConverterTest.cs

8
src/Libraries/NRefactory/Test/Output/CSharp/VBNetToCSharpConverterTest.cs

@ -643,11 +643,11 @@ static int static_Test2_j = 0;"); @@ -643,11 +643,11 @@ static int static_Test2_j = 0;");
[Test]
public void ComparisonWithEmptyStringLiteral()
{
TestStatement("If a = \"\" Then Return", "if (string.IsNullOrEmpty(a))" + Environment.NewLine + " return; ");
TestStatement("If a <> \"\" Then Return", "if (!string.IsNullOrEmpty(a))" + Environment.NewLine + " return; ");
TestStatement("If a = \"\" Then Return", "if (string.IsNullOrEmpty(a)) " + Environment.NewLine + " return; ");
TestStatement("If a <> \"\" Then Return", "if (!string.IsNullOrEmpty(a)) " + Environment.NewLine + " return; ");
TestStatement("If \"\" = a Then Return", "if (string.IsNullOrEmpty(a))" + Environment.NewLine + " return; ");
TestStatement("If \"\" <> a Then Return", "if (!string.IsNullOrEmpty(a))" + Environment.NewLine + " return; ");
TestStatement("If \"\" = a Then Return", "if (string.IsNullOrEmpty(a)) " + Environment.NewLine + " return; ");
TestStatement("If \"\" <> a Then Return", "if (!string.IsNullOrEmpty(a)) " + Environment.NewLine + " return; ");
}
[Test]

Loading…
Cancel
Save