Skip to content

Commit bc05a24

Browse files
Fix syntax error in test code
1 parent 8f2907a commit bc05a24

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Tests/VB/SpecialConversionTests.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -641,12 +641,13 @@ End Property
641641
End Class
642642
End Namespace");
643643
}
644+
644645
[Fact]
645646
public async Task ConstantsShouldBeQualified() {
646647
await TestConversionCSharpToVisualBasic(
647648
@"public class TestClass {
648649
public void Method() {
649-
string vbLf = ""\n""
650+
string vbLf = ""\n"";
650651
string vbCrLf = ""\r\n"";
651652
}
652653
}",
@@ -655,10 +656,7 @@ Public Sub Method()
655656
Dim vbLf As String = Microsoft.VisualBasic.vbLf
656657
Dim vbCrLf As String = Microsoft.VisualBasic.vbCrLf
657658
End Sub
658-
End Class
659-
660-
1 source compilation errors:
661-
CS1002: ; expected", conversionOptions: EmptyNamespaceOptionStrictOff);
659+
End Class", conversionOptions: EmptyNamespaceOptionStrictOff);
662660
}
663661
}
664662
}

0 commit comments

Comments
 (0)