forked from pester/Pester
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request pester#602 from jsoref/spelling
Spelling
- Loading branch information
Showing
20 changed files
with
44 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
|
||
function PesterContain($file, $contentExpecation) { | ||
return ((& $SafeCommands['Get-Content'] -Encoding UTF8 $file) -match $contentExpecation) | ||
function PesterContain($file, $contentExpectation) { | ||
return ((& $SafeCommands['Get-Content'] -Encoding UTF8 $file) -match $contentExpectation) | ||
} | ||
|
||
function PesterContainFailureMessage($file, $contentExpecation) { | ||
return "Expected: file ${file} to contain {$contentExpecation}" | ||
function PesterContainFailureMessage($file, $contentExpectation) { | ||
return "Expected: file ${file} to contain {$contentExpectation}" | ||
} | ||
|
||
function NotPesterContainFailureMessage($file, $contentExpecation) { | ||
return "Expected: file {$file} to not contain ${contentExpecation} but it did" | ||
function NotPesterContainFailureMessage($file, $contentExpectation) { | ||
return "Expected: file {$file} to not contain ${contentExpectation} but it did" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
function PesterContainExactly($file, $contentExpecation) { | ||
return ((& $SafeCommands['Get-Content'] -Encoding UTF8 $file) -cmatch $contentExpecation) | ||
function PesterContainExactly($file, $contentExpectation) { | ||
return ((& $SafeCommands['Get-Content'] -Encoding UTF8 $file) -cmatch $contentExpectation) | ||
} | ||
|
||
function PesterContainExactlyFailureMessage($file, $contentExpecation) { | ||
return "Expected: file ${file} to contain exactly {$contentExpecation}" | ||
function PesterContainExactlyFailureMessage($file, $contentExpectation) { | ||
return "Expected: file ${file} to contain exactly {$contentExpectation}" | ||
} | ||
|
||
function NotPesterContainExactlyFailureMessage($file, $contentExpecation) { | ||
return "Expected: file {$file} to not contain exactly ${contentExpecation} but it did" | ||
function NotPesterContainExactlyFailureMessage($file, $contentExpectation) { | ||
return "Expected: file {$file} to not contain exactly ${contentExpectation} but it did" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters