Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests(typo): Fix typo ('formated' -> 'formatted') #4217

Merged
merged 3 commits into from
Jun 21, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'develop'
  • Loading branch information
niheaven committed Jun 21, 2022
commit 7864bbd5d44f317015e9838be67c037c1dacaad4
6 changes: 3 additions & 3 deletions test/Import-File-Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Describe 'Style constraints for non-binary project files' {
$files = @(
# gather all files except '*.exe', '*.zip', or any .git repository files
$repo_files |
where-object { $_.fullname -inotmatch $($project_file_exclusions -join '|') } |
where-object { $_.fullname -inotmatch '(.exe|.zip|.dll)$' } |
where-object { $_.fullname -inotmatch '(unformatted)' }
Where-Object { $_.fullname -inotmatch $($project_file_exclusions -join '|') } |
Where-Object { $_.fullname -inotmatch '(.exe|.zip|.dll)$' } |
Where-Object { $_.fullname -inotmatch '(unformatted)' }
)

$files_exist = ($files.Count -gt 0)
Expand Down
2 changes: 1 addition & 1 deletion test/Scoop-Depends.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Describe 'Package Dependencies' -Tag 'Scoop' {

Context 'InstallationHelper function' {
BeforeAll {
$working_dir = setup_working 'format/formated'
$working_dir = setup_working 'format/formatted'
$manifest1 = parse_json (Join-Path $working_dir '3-array-with-single-and-multi.json')
$manifest2 = parse_json (Join-Path $working_dir '4-script-block.json')
Mock Test-HelperInstalled { $false }
Expand Down
2 changes: 1 addition & 1 deletion test/Scoop-Format-Manifest.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Describe 'Pretty json formating' -Tag 'Scoop' {
It "$_" {
$pretty_json = (parse_json "$format\unformatted\$_") | ConvertToPrettyJson
$correct = (Get-Content "$format\formatted\$_") -join "`r`n"
$correct.CompareTo($pretty_json) | Should Be 0
$correct.CompareTo($pretty_json) | Should -Be 0
}
}
}
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.