Skip to content

Commit 8d83336

Browse files
committed
Update text
1 parent fb9c500 commit 8d83336

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Exercise/HaveTheLastSay.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,11 @@ public function check(Input $input): ResultInterface
135135
}
136136

137137
if (!isset($funcCall->args[1])) {
138-
return Failure::fromNameAndReason($this->getName(), 'The separator argument has not specified');
138+
return Failure::fromNameAndReason($this->getName(), 'The separator argument has not been specified');
139139
}
140140

141141
if (!$funcCall->args[1]->name) {
142-
return Failure::fromNameAndReason($this->getName(), 'Second positional argument should not be specified');
142+
return Failure::fromNameAndReason($this->getName(), 'The second positional argument should not be specified');
143143
}
144144

145145
if ($funcCall->args[1]->name->name !== 'separator') {

test/Exercise/HaveTheLastSayTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function testWithSecondArgumentSpecified(): void
5656

5757
$this->assertVerifyWasNotSuccessful();
5858

59-
$this->assertResultsHasFailure(Failure::class, 'Second positional argument should not be specified');
59+
$this->assertResultsHasFailure(Failure::class, 'The second positional argument should not be specified');
6060
}
6161

6262
public function testWithMoreThanTwoArguments(): void
@@ -74,7 +74,7 @@ public function testWithNoSeparatorArgumentSpecified(): void
7474

7575
$this->assertVerifyWasNotSuccessful();
7676

77-
$this->assertResultsHasFailure(Failure::class, 'The separator argument has not specified');
77+
$this->assertResultsHasFailure(Failure::class, 'The separator argument has not been specified');
7878
}
7979

8080
public function testWithWrongNamedArgument(): void

0 commit comments

Comments
 (0)