Skip to content

Commit

Permalink
Clarify that ,/&& prefix and suffix are invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Sep 9, 2020
1 parent 34052c6 commit 2193a60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/VersionParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,11 @@ public function failingConstraints()
'operator abuse' => array('>2.0,,<=3.0'),
'operator abuse/2' => array('>2.0 ,, <=3.0'),
'operator abuse/3' => array('>2.0 ||| <=3.0'),
'leading operator' => array(',^1@dev || ^4@dev'),
'leading operator/2' => array(',^1@dev'),
'leading operator/3' => array('|| ^1@dev'),
'trailing operator' => array('^1@dev ||'),
'trailing operator/2' => array('^1@dev ,'),
);
}

Expand Down

0 comments on commit 2193a60

Please sign in to comment.