Skip to content

Commit

Permalink
Test less strict version expiration (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored Dec 20, 2023
1 parent ed05df4 commit b3a9800
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
23 changes: 22 additions & 1 deletion tests/TodoByVersionRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,14 @@ public static function provideErrors(): iterable
$tip
],
[
'Version requirement <1.0.0 not satisfied.',
'Version requirement <1.0.0 not satisfied.',
10,
$tip
],
[
'Version requirement <1.0 not satisfied.',
11,
$tip
]
]
];
Expand All @@ -78,7 +83,13 @@ public static function provideErrors(): iterable
'Version requirement <1.0.0 not satisfied.',
10,
$tip
],
[
'Version requirement <1.0 not satisfied.',
11,
$tip
]

]
];

Expand All @@ -100,6 +111,11 @@ public static function provideErrors(): iterable
'Version requirement <1.0.0 not satisfied.',
10,
$tip
],
[
'Version requirement <1.0 not satisfied.',
11,
$tip
]
]
];
Expand Down Expand Up @@ -135,6 +151,11 @@ public static function provideSemanticVersions(): iterable
'Version requirement <1.0.0 not satisfied.',
10,
$tip
],
[
'Version requirement <1.0 not satisfied.',
11,
$tip
]
]
];
Expand Down
1 change: 1 addition & 0 deletions tests/data/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ function doFoo():void {
}

// TODO: <1.0.0
// TODO: <1.0

0 comments on commit b3a9800

Please sign in to comment.