Skip to content

Commit

Permalink
Fix: Rename methods
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 26, 2023
1 parent 9fd0996 commit f7e00f9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/Unit/MajorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function testCompareReturnsMinusOneWhenFirstValueIsSmallerThanSecondValue

#[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')]
#[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')]
public function testCompareReturnsZeroWhenFirstValueIsEqualToSecondValue(int $value): void
public function testCompareReturnsZeroWhenFirstValueIsIdenticalToSecondValue(int $value): void
{
$one = Major::fromInt($value);
$two = Major::fromInt($value);
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/MinorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function testCompareReturnsMinusOneWhenFirstValueIsSmallerThanSecondValue

#[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')]
#[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')]
public function testCompareReturnsZeroWhenFirstValueIsEqualToSecondValue(int $value): void
public function testCompareReturnsZeroWhenFirstValueIsIdenticalToSecondValue(int $value): void
{
$one = Minor::fromInt($value);
$two = Minor::fromInt($value);
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/PatchTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function testCompareReturnsMinusOneWhenFirstValueIsSmallerThanSecondValue

#[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'zero')]
#[Framework\Attributes\DataProviderExternal(DataProvider\IntProvider::class, 'greaterThanZero')]
public function testCompareReturnsZeroWhenFirstValueIsEqualToSecondValue(int $value): void
public function testCompareReturnsZeroWhenFirstValueIsIdenticalToSecondValue(int $value): void
{
$one = Patch::fromInt($value);
$two = Patch::fromInt($value);
Expand Down
2 changes: 1 addition & 1 deletion test/Unit/PreReleaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function testCompareReturnsMinusOneWhenFirstValueIsSmallerThanSecondValue
}

#[Framework\Attributes\DataProviderExternal(Test\DataProvider\PreReleaseProvider::class, 'valid')]
public function testCompareReturnsZeroWhenFirstValueIsEqualToSecondValue(string $value): void
public function testCompareReturnsZeroWhenFirstValueIsIdenticalToSecondValue(string $value): void
{
$one = PreRelease::fromString($value);
$two = PreRelease::fromString($value);
Expand Down

0 comments on commit f7e00f9

Please sign in to comment.