/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/EditorFeatures/VisualBasicTest/EndConstructGeneration/WhiteSpacesInsertTests.vb
55 строк
1 KB
Cyrus Najmabadi
Update tests
19 дек 2024, 00:39
19 дек 2024, 00:39
324af98
Код
Авторство
О чём код?
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.EndConstructGeneration <[UseExportProvider]> <Trait(Traits.Feature, Traits.Features.EndConstructGeneration)> Public Class WhiteSpacesInsertTests <WpfFact> Public Async Function VerifyInsertWhiteSpace() As Task Await VerifyStatementEndConstructAppliedAsync( before:="Class X Sub y() End Class", beforeCaret:={1, -1}, after:="Class X Sub y() End Sub End Class", afterCaret:={2, -1}) End Function <WpfFact> Public Async Function VerifyInsertTabSpace() As Task Await VerifyStatementEndConstructAppliedAsync( before:="Class X Sub y() End Class", beforeCaret:={1, -1}, after:="Class X Sub y() End Sub End Class", afterCaret:={2, -1}) End Function <WpfFact> Public Async Function VerifyInsertDoubleWideWhiteSpace() As Task Await VerifyStatementEndConstructAppliedAsync( before:="Class X Sub y() End Class", beforeCaret:={1, -1}, after:="Class X Sub y() End Sub End Class", afterCaret:={2, -1}) End Function End Class End Namespace