提交 bf3a3c2c 编写于 作者: S Sam Harwell

Fix tests for Add Shadows

上级 814f3bfb
...@@ -81,16 +81,18 @@ End Class") ...@@ -81,16 +81,18 @@ End Class")
Public Async Function TestAddShadowsToProperty() As Task Public Async Function TestAddShadowsToProperty() As Task
Await TestInRegularAndScriptAsync( Await TestInRegularAndScriptAsync(
"Class Application "Class Application
Shared Property Current As Application Shared Sub Current()
End Sub
End Class End Class
Class App : Inherits Application Class App : Inherits Application
[|Shared Property Current As App|] [|Shared Property Current As App|]
End Class", End Class",
"Class Application "Class Application
Shared Property Current As Application Shared Sub Current()
End Sub
End Class End Class
Class App : Inherits Application Class App : Inherits Application
Shadows Shared Property Current As App Shared Shadows Property Current As App
End Class") End Class")
End Function End Function
...@@ -98,9 +100,7 @@ End Class") ...@@ -98,9 +100,7 @@ End Class")
Public Async Function TestAddShadowsToFunction() As Task Public Async Function TestAddShadowsToFunction() As Task
Await TestInRegularAndScriptAsync( Await TestInRegularAndScriptAsync(
"Class Application "Class Application
Shared Function Test() As Integer Shared Property Test As Integer
Return 1
End Function
End Class End Class
Class App : Inherits Application Class App : Inherits Application
[|Shared Function Test() As Integer [|Shared Function Test() As Integer
...@@ -108,12 +108,10 @@ Class App : Inherits Application ...@@ -108,12 +108,10 @@ Class App : Inherits Application
End Function|] End Function|]
End Class", End Class",
"Class Application "Class Application
Shared Function Test() As Integer Shared Property Test As Integer
Return 1
End Function
End Class End Class
Class App : Inherits Application Class App : Inherits Application
Shadows Shared Function Test() As Integer Shared Shadows Function Test() As Integer
Return 2 Return 2
End Function End Function
End Class") End Class")
...@@ -123,19 +121,17 @@ End Class") ...@@ -123,19 +121,17 @@ End Class")
Public Async Function TestAddShadowsToSub() As Task Public Async Function TestAddShadowsToSub() As Task
Await TestInRegularAndScriptAsync( Await TestInRegularAndScriptAsync(
"Class Application "Class Application
Shared Sub Test() Shared Property Test As Integer
End Sub
End Class End Class
Class App : Inherits Application Class App : Inherits Application
[|Shared Sub Test() [|Shared Sub Test()
End Sub|] End Sub|]
End Class", End Class",
"Class Application "Class Application
Shared Sub Test() Shared Property Test As Integer
End Sub
End Class End Class
Class App : Inherits Application Class App : Inherits Application
Shadows Shared Sub Test() Shared Shadows Sub Test()
End Sub End Sub
End Class") End Class")
End Function End Function
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册