File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,17 +11,17 @@ Describe "UseConsistentIndentation" {
1111 function Invoke-FormatterAssertion {
1212 param (
1313 [string ] $ScriptDefinition ,
14- [string ] $ExcpectedScriptDefinition ,
14+ [string ] $ExpectedScriptDefinition ,
1515 [int ] $NumberOfExpectedWarnings ,
1616 [hashtable ] $Settings
1717 )
1818
1919 # Unit test just using this rule only
2020 $violations = Invoke-ScriptAnalyzer - ScriptDefinition $scriptDefinition - Settings $settings
2121 $violations.Count | Should - Be $NumberOfExpectedWarnings - Because $ScriptDefinition
22- Invoke-Formatter - ScriptDefinition $scriptDefinition - Settings $settings | Should - Be $expected - Because $ScriptDefinition
22+ Invoke-Formatter - ScriptDefinition $scriptDefinition - Settings $settings | Should - Be $ExpectedScriptDefinition - Because $ScriptDefinition
2323 # Integration test with all default formatting rules
24- Invoke-Formatter - ScriptDefinition $scriptDefinition | Should - Be $expected - Because $ScriptDefinition
24+ Invoke-Formatter - ScriptDefinition $scriptDefinition | Should - Be $ExpectedScriptDefinition - Because $ScriptDefinition
2525 }
2626 }
2727 BeforeEach {
You can’t perform that action at this time.
0 commit comments