Skip to content

Commit

Permalink
Merge pull request #268 from visto9259/fix_267
Browse files Browse the repository at this point in the history
Fixing small typo in description text for major milestone (#267)
  • Loading branch information
gsteel authored Jan 3, 2025
2 parents 807c3c2 + 6f8a147 commit 7603d0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Github/Api/V3/CreateMilestoneThroughApiCall.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function __invoke(RepositoryName $repository, SemVerVersion $version): vo
private function milestoneDescription(SemVerVersion $version): string
{
if ($version->isNewMajorRelease()) {
return 'Backwards incompatible release (major)';
return 'Backward incompatible release (major)';
}

if ($version->isNewMinorRelease()) {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/Github/Api/V3/CreateMilestoneTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public function testMajorMilestone(): void
self::assertJsonStringEqualsJsonString(
<<<'JSON'
{
"description": "Backwards incompatible release (major)",
"description": "Backward incompatible release (major)",
"title": "3.0.0"
}
JSON,
Expand Down

0 comments on commit 7603d0a

Please sign in to comment.