From df02f050db5baf6228f1d59074f493673552997d Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Tue, 3 Sep 2019 22:03:00 +0100 Subject: [PATCH] revert accidentally added test from PR #1323 --- .../Rules/UseConsistentIndentation.tests.ps1 | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/Tests/Rules/UseConsistentIndentation.tests.ps1 b/Tests/Rules/UseConsistentIndentation.tests.ps1 index 93faec469..2cce7dd7c 100644 --- a/Tests/Rules/UseConsistentIndentation.tests.ps1 +++ b/Tests/Rules/UseConsistentIndentation.tests.ps1 @@ -158,36 +158,6 @@ foo | Invoke-FormatterAssertion $scriptDefinition $expected 3 $settings } - It "When a comment is in the middle of a multi-line statement with preceding pipeline and succeeding line continuation 2" { - $scriptDefinition = @' -foo ` --bar | -baz -'@ - $expected = @' -foo ` - -bar | - baz -'@ - Invoke-FormatterAssertion $scriptDefinition $expected 2 $settings - } - - It "When a comment is in the middle of a multi-line statement with preceding pipeline and succeeding line continuation 3" { - $scriptDefinition = @' -foo ` -# comment --bar | -baz -'@ - $expected = @' -foo ` - # comment - -bar | - baz -'@ - Invoke-FormatterAssertion $scriptDefinition $expected 3 $settings - } - It "Should find a violation if a pipleline element is not indented correctly" { $def = @' get-process |