Skip to content

Commit

Permalink
fix something please
Browse files Browse the repository at this point in the history
  • Loading branch information
fflaten committed Jan 17, 2025
1 parent 8bba3c9 commit 699e6f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tst/functions/New-MockObject.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Describe 'New-MockObject' {
# Simulate a internal module class like https://github.com/pester/Pester/issues/2564
$someObj = & {
class MyInternalClass {
[string] $Name
[string] $Name = 'Default'
[string] GetName() { return $this.Name }
}
$obj = [MyInternalClass]::new()
Expand Down

0 comments on commit 699e6f8

Please sign in to comment.