File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ foreach ($x in $y) {
5656 Invoke-Formatter - ScriptDefinition $scriptDefinition - Settings $settings | Should - Be $expected
5757 Invoke-Formatter - ScriptDefinition $scriptDefinition - Settings ' CodeFormattingStroustrup' | Should - Be $expected
5858 Invoke-Formatter - ScriptDefinition $scriptDefinition - Settings ' CodeFormattingOTBS' | Should - Be $expected
59+ Invoke-Formatter - ScriptDefinition $scriptDefinition - Settings ' CodeFormattingOTPS' | Should - Be $expected
5960 }
6061
6162 It " Should correct violation when brace should be on the same line and take comment into account" {
@@ -73,6 +74,7 @@ foreach ($x in $y) { # useful comment
7374 Invoke-Formatter - ScriptDefinition $scriptDefinition - Settings $settings | Should - Be $expected
7475 Invoke-Formatter - ScriptDefinition $scriptDefinition - Settings ' CodeFormattingStroustrup' | Should - Be $expected
7576 Invoke-Formatter - ScriptDefinition $scriptDefinition - Settings ' CodeFormattingOTBS' | Should - Be $expected
77+ Invoke-Formatter - ScriptDefinition $scriptDefinition - Settings ' CodeFormattingOTPS' | Should - Be $expected
7678 }
7779
7880 It " Should correct violation when the brace should be on the next line and take comment into account" {
@@ -90,6 +92,7 @@ foreach ($x in $y) { # useful comment
9092 Invoke-Formatter - ScriptDefinition $scriptDefinition - Settings $settings | Should - Be $expected
9193 Invoke-Formatter - ScriptDefinition $scriptDefinition - Settings ' CodeFormattingStroustrup' | Should - Be $expected
9294 Invoke-Formatter - ScriptDefinition $scriptDefinition - Settings ' CodeFormattingOTBS' | Should - Be $expected
95+ Invoke-Formatter - ScriptDefinition $scriptDefinition - Settings ' CodeFormattingOTPS' | Should - Be $expected
9396 }
9497 }
9598
You can’t perform that action at this time.
0 commit comments