add test for double install
@@ -15,6 +15,15 @@ cases:
# a 1.0.0 has requirement B==1.0.0, but you'll have b 2.0.0 which is incompatible.
# -- better would be:
# A 1.0.0 has incompatible requirements B==1.0.0, B==2.0.0
+-
+ request:
+ - install: ['B==1.0.0', 'B']
+ response:
+ - state:
+ - B 1.0.0
+ skip: old
+ # -- old error:
+ # Double requirement given: B (already in B==1.0.0, name='B')
-
request:
- install: ['B==1.0.0', 'B==2.0.0']
