Skip to content

Commit

Permalink
test: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Jan 7, 2022
1 parent 351544b commit 8a71b75
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions tests/system/Validation/StrictRules/FormatRulesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ public function alphaSpaceProvider(): Generator
yield from [
[
null,
false, // true in v4.1.6 and earlier
false, // true in Traditional Rule
],
[
self::ALPHABET,
Expand Down Expand Up @@ -840,17 +840,17 @@ public function integerInvalidTypeDataProvider(): Generator
{
yield 'array with int' => [
[555],
false, // true in v4.1.5 and earlier
false, // TypeError in Traditional Rule
];

yield 'empty array' => [
[],
false, // true in v4.1.5 and earlier
false, // TypeError in Traditional Rule
];

yield 'bool true' => [
true,
false, // true in v4.1.5 and earlier
false, // true in Traditional Rule
];

yield 'bool false' => [
Expand Down
6 changes: 3 additions & 3 deletions tests/system/Validation/StrictRules/ValidationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function arrayDataProvider(): Generator
{
yield 'list array' => [
[1, 2, 3, 4, 5],
true, // false in v4.1.5 and earlier
true, // false in Traditional Rule
];

yield 'associative array' => [
Expand All @@ -129,7 +129,7 @@ public function arrayDataProvider(): Generator
'role' => 'administrator',
'usepass' => 0,
],
true, // false in v4.1.5 and earlier
true, // false in Traditional Rule
];

yield 'int' => [
Expand Down Expand Up @@ -172,7 +172,7 @@ public function isIntInvalidTypeDataProvider(): Generator
{
yield 'array with int' => [
[555],
false, // true in v4.1.5 and earlier
false, // true in Traditional Rule
];

yield 'empty array' => [
Expand Down

0 comments on commit 8a71b75

Please sign in to comment.