File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -135,11 +135,11 @@ public function check(Input $input): ResultInterface
135
135
}
136
136
137
137
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 ' );
139
139
}
140
140
141
141
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 ' );
143
143
}
144
144
145
145
if ($ funcCall ->args [1 ]->name ->name !== 'separator ' ) {
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function testWithSecondArgumentSpecified(): void
56
56
57
57
$ this ->assertVerifyWasNotSuccessful ();
58
58
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 ' );
60
60
}
61
61
62
62
public function testWithMoreThanTwoArguments (): void
@@ -74,7 +74,7 @@ public function testWithNoSeparatorArgumentSpecified(): void
74
74
75
75
$ this ->assertVerifyWasNotSuccessful ();
76
76
77
- $ this ->assertResultsHasFailure (Failure::class, 'The separator argument has not specified ' );
77
+ $ this ->assertResultsHasFailure (Failure::class, 'The separator argument has not been specified ' );
78
78
}
79
79
80
80
public function testWithWrongNamedArgument (): void
You can’t perform that action at this time.
0 commit comments