Skip to content

Commit

Permalink
Fix whitespace failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaykul committed May 19, 2016
1 parent 8336552 commit 03e956d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Functions/Gherkin.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $GherkinHooks = @{
function Invoke-GherkinHook {
[CmdletBinding()]
param([string]$Hook, [string]$Name, [string[]]$Tags)

if($GherkinHooks.${Hook}) {
foreach($GherkinHook in $GherkinHooks.${Hook}) {
if($GherkinHook.Tags -and $Tags) {
Expand Down Expand Up @@ -331,7 +331,7 @@ function Invoke-Gherkin {

# Remove all the steps
$Script:GherkinSteps.Clear()

$Location | Set-Location
[Environment]::CurrentDirectory = Convert-Path $FileLocation

Expand Down Expand Up @@ -511,4 +511,4 @@ function ConvertTo-HashTableArray {
end {
Write-Output $Table
}
}
}
2 changes: 1 addition & 1 deletion Functions/GherkinHook.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ Set-Alias BeforeStep Hook
Set-Alias AfterAllFeatures Hook
Set-Alias AfterFeature Hook
Set-Alias AfterScenario Hook
Set-Alias AfterStep Hook
Set-Alias AfterStep Hook
2 changes: 1 addition & 1 deletion Functions/GherkinStep.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ Describe 'Testing Gerkin Step' {
When "I Click" { }
& ( Get-Module Pester ) { $GherkinSteps.Keys -eq "I Click" } | Should Be "I Click"
}
}
}

0 comments on commit 03e956d

Please sign in to comment.