anchor.diff:      });
   
       await d.appDir({'foo': '1.0.0'}).create();
  -    await expectResolves(
  -        error: "Package myapp has no versions that match >0.0.0 derived from:\n"
  -            "- foo 1.0.0 depends on version >0.0.0");
  +    await expectResolves(error: equalsIgnoringWhitespace("""
  +      Because myapp depends on foo 1.0.0 which depends on myapp >0.0.0 from
  +        hosted, myapp >0.0.0 from hosted is required.
  +      So, because myapp is 0.0.0, version solving failed.
  +    """));
     });
   }
   
  
positive.code:     });
  
      await d.appDir({'foo': '>=1.0.0 <2.0.0'}).create();
      await expectResolves(
          error: 'Package foo has no versions that match >=1.0.0 <2.0.0 derived '
              'from:\n'
              '- myapp depends on version >=1.0.0 <2.0.0');
    });
  
    test('no version that matches combined constraint', () async {
  
negative.code:     });
  
      await d.appDir({'foo': '1.0.0', 'bar': '1.0.0'}).create();
  
      await expectResolves(
          error: allOf([
        contains('Because all versions of foo depend on shared 1.0.0 from hosted '
            'on http://localhost:'),
        contains(' and all\n  versions of bar depend on shared 1.0.0 from hosted '
            'on http://localhost:'),
        contains(', foo is incompatible\n  with bar.'),
        contains('So, because myapp depends on both bar 1.0.0 and foo 1.0.0, '
            'version solving failed.')
      ]));
    });
  
  