Skip to content

Commit 74b9f82

Browse files
bergmeisterJamesWTruher
authored andcommitted
revert accidentally added test from PR #1323 (#1330)
1 parent c912c8f commit 74b9f82

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

Tests/Rules/UseConsistentIndentation.tests.ps1

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -158,36 +158,6 @@ foo |
158158
Invoke-FormatterAssertion $scriptDefinition $expected 3 $settings
159159
}
160160

161-
It "When a comment is in the middle of a multi-line statement with preceding pipeline and succeeding line continuation 2" {
162-
$scriptDefinition = @'
163-
foo `
164-
-bar |
165-
baz
166-
'@
167-
$expected = @'
168-
foo `
169-
-bar |
170-
baz
171-
'@
172-
Invoke-FormatterAssertion $scriptDefinition $expected 2 $settings
173-
}
174-
175-
It "When a comment is in the middle of a multi-line statement with preceding pipeline and succeeding line continuation 3" {
176-
$scriptDefinition = @'
177-
foo `
178-
# comment
179-
-bar |
180-
baz
181-
'@
182-
$expected = @'
183-
foo `
184-
# comment
185-
-bar |
186-
baz
187-
'@
188-
Invoke-FormatterAssertion $scriptDefinition $expected 3 $settings
189-
}
190-
191161
It "Should find a violation if a pipleline element is not indented correctly" {
192162
$def = @'
193163
get-process |

0 commit comments

Comments
 (0)