anchor.diff:          expect(statusResult.nothingToCommit, true);
           outgoingResult = await prj.outgoing();
           expect(outgoingResult.branchIsAhead, true);
  -      });
  -    }
  +      }
  +    });
     });
   }
  
positive.code:             await isHgRepository(
                  'https://bitbucket.org/alextk/public_git_test'),
              isFalse);
        });
  
        test('HgProject', () async {
          String outPath = clearOutTestPath(testDescriptions);
          var prj = HgProject('https://bitbucket.org/alextk/hg_data_test',
              rootFolder: outPath);
  
negative.code: 
  void defineTests() {
    //useVMConfiguration();
    group('hg', () {
      bool _isHgSupported;
  
      setUp(() async {
        if (_isHgSupported == null) {
          _isHgSupported = await isHgSupported;
        }
      });
  
      test('isHgSupported', () async {
        expect(await isHgSupported, _isHgSupported);
      });
      test('version', () async {
        if (_isHgSupported) {
          ProcessResult result = await runCmd(hgVersionCmd());
          // git version 1.9.1
          expect(result.stdout.startsWith("Mercurial Distributed SCM"), isTrue);
          // print for travis debugging
          print('\$ ${hgVersionCmd()}');
          print(result.stdout);
        } else {
          print('hg not supported');
        }
      });
  
      /*
      test('isHgTopLevelPath', () async {
        print(Platform.script);
        //await new Completer().future;
        expect(await isHgTopLevelPath(scriptDirPath), isFalse);
        expect(await isHgTopLevelPath(dirname(scriptDirPath)), isTrue, reason: dirname(scriptDirPath));
      });
      */
      test('isHgRepository', () async {
        if (_isHgSupported) {
          expect(
              await isHgRepository('https://bitbucket.org/alextk/public_hg_test'),
              isTrue);
  