Skip to content

Commit

Permalink
test: Refactor wording to be more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlydog committed Apr 20, 2024
1 parent a25c211 commit 4ecd227
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tiPS/Classes/PowerShellTip.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Describe 'Checking if an Example is provided' {
$tip.ExampleIsProvided | Should -BeFalse
}

It 'Should return false when the example is not initialized' {
It 'Should return false when the example is null' {
[tiPS.PowerShellTip] $tip = $ValidTip
$tip.Example = $null
$tip.ExampleIsProvided | Should -BeFalse
Expand Down Expand Up @@ -247,7 +247,7 @@ Describe 'Checking if URLs are provided' {
$tip.UrlsAreProvided | Should -BeFalse
}

It 'Should return false when the URLs array is not initialized' {
It 'Should return false when the URLs array is null' {
[tiPS.PowerShellTip] $tip = $ValidTip
$tip.Urls = $null
$tip.UrlsAreProvided | Should -BeFalse
Expand Down Expand Up @@ -283,7 +283,7 @@ Describe 'Checking if an Author is provided' {
$tip.AuthorIsProvided | Should -BeFalse
}

It 'Should return false when the author is not initialized' {
It 'Should return false when the author is null' {
[tiPS.PowerShellTip] $tip = $ValidTip
$tip.Author = $null
$tip.AuthorIsProvided | Should -BeFalse
Expand Down

0 comments on commit 4ecd227

Please sign in to comment.