提交 0e7d7400 编写于 作者: C CyrusNajmabadi

Fix test

上级 9931d62c
......@@ -607,5 +607,30 @@ public class Foo
End Property
end class")
End Function
<Fact, Trait(Traits.Feature, Traits.Features.CodeActionsReplacePropertyWithMethods)>
Public Async Function TestIndentation() As Task
Await TestAsync(
"class C
Public Function [||]GetProp() As Integer
dim count = 0
for each x in y
count = count + z
next
return count
End Function
end class",
"class C
Public ReadOnly Property Prop As Integer
Get
dim count = 0
for each x in y
count = count + z
next
return count
End Get
End Property
end class", compareTokens:=False)
End Function
End Class
End Namespace
\ No newline at end of file
......@@ -31,13 +31,13 @@ end class")
Public Async Function TestIndentation() As Task
Await TestAsync(
"class C
readonly property [||]Prop as integer
readonly property [||]Prop As Integer
get
dim count = 0
for each x in y
count = count + z
next
reutrn count
return count
end get
end property
end class",
......@@ -47,7 +47,7 @@ end class",
for each x in y
count = count + z
next
reutrn count
return count
End Function
end class", compareTokens:=False)
End Function
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册