Skip to content

Commit 28fefc0

Browse files
committed
fix(tests): instantiate Bootstrapper in a single expression for clarity
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
1 parent 47416df commit 28fefc0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/Changelog/BootstrapperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function bootstrapWillRestoreMissingUnreleasedSection(): void
9393
);
9494
$this->filesystem->dumpFile($workingDirectory . '/.keep-a-changelog.ini', "[defaults]\n");
9595

96-
$result = new Bootstrapper($this->filesystem)
96+
$result = (new Bootstrapper($this->filesystem))
9797
->bootstrap($workingDirectory);
9898

9999
self::assertFalse($result->configCreated);
@@ -116,7 +116,7 @@ public function bootstrapWillRestoreMissingUnreleasedSectionForExistingCustomInt
116116
);
117117
$this->filesystem->dumpFile($workingDirectory . '/.keep-a-changelog.ini', "[defaults]\n");
118118

119-
$result = new Bootstrapper($this->filesystem)
119+
$result = (new Bootstrapper($this->filesystem))
120120
->bootstrap($workingDirectory);
121121

122122
self::assertFalse($result->configCreated);

0 commit comments

Comments
 (0)