Skip to content

Commit c8c4893

Browse files
Brandon Lundtvexx32
andcommitted
Typos identified in Issue #190 (#201)
* Typos identified in Issue #190 * Update PSKoans/Koans/Constructs and Patterns/AboutCustomObjects.Koans.ps1 Co-Authored-By: Joel Sallow (/u/ta11ow) <[email protected]> * Update PSKoans/Koans/Constructs and Patterns/AboutCustomObjects.Koans.ps1 Co-Authored-By: Joel Sallow (/u/ta11ow) <[email protected]> * Update PSKoans/Koans/Constructs and Patterns/AboutCustomObjects.Koans.ps1 Co-Authored-By: Joel Sallow (/u/ta11ow) <[email protected]> * Removed unnecessary quotes * Final corrections. * Update PSKoans/Koans/Constructs and Patterns/AboutCustomObjects.Koans.ps1 Co-Authored-By: Joel Sallow (/u/ta11ow) <[email protected]>
1 parent 3070afd commit c8c4893

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

PSKoans/Koans/Constructs and Patterns/AboutCustomObjects.Koans.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ Describe '[PSCustomObject]' {
3333
It 'can be built by trimming objects down' {
3434
$Object = Get-ChildItem -Path $Home | Select-Object -First 1 -Property Name, Parent
3535
$Object | Should -BeOfType PSCustomObject
36-
__ | Should -Be $Object.Parent.Name
36+
'____' | Should -Be $Object.Parent.Name
3737
}
3838

3939
It 'can have arbitrary properties' {
40-
$Object = [PSCustomObject]@{ '__' = 'Enter Property Name' }
40+
$Object = [PSCustomObject]@{ '____' = 'PropertyValue' }
4141

4242
__ | Should -Be $Object.PSObject.Properties.Count
43-
__.PSObject.Properties.Name | Should -Be 'PropertyName'
43+
$____.PSObject.Properties.Name | Should -Be 'PropertyName'
4444
}
4545

4646
It 'can be added to' {
@@ -86,9 +86,9 @@ Describe '[PSCustomObject]' {
8686
)
8787
)
8888

89-
__ | Should -Be $Object.CustomProperty
89+
'____' | Should -Be $Object.CustomProperty
9090
$Object.CustomProperty = 12
9191
__ | Should -Be $Object.CustomProperty
9292
__ | Should -Be $Object.BaseProperty
9393
}
94-
}
94+
}

0 commit comments

Comments
 (0)