File tree 1 file changed +0
-30
lines changed
1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -158,36 +158,6 @@ foo |
158
158
Invoke-FormatterAssertion $scriptDefinition $expected 3 $settings
159
159
}
160
160
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
-
191
161
It " Should find a violation if a pipleline element is not indented correctly" {
192
162
$def = @'
193
163
get-process |
You can’t perform that action at this time.
0 commit comments