#4 Add tests for Expr comparison and PrefixRelOp
Merged by jjames. Opened by defolos.
defolos/opam2rpm add_expression_tests  into  master

Download 4.patch
  • add type hints
  • make Expr child classes' eq more robust
  • pass the full token into PrefixRelOp's constructor
  • add negate function to Token class
  • implement List protocol for ListVal

please note that this also contains the changes from https://pagure.io/opam2rpm/pull-request/3 (I'll rebase once that one is addressed)

rebased onto d17d40293de158a73b5e9621e50e97519e80e582

Nice! Thank you for the great improvements and tests.

Pull-Request has been merged by jjames

Metadata