anchor.diff:              'pkg_b'
             ],
             workingDirectory: repoPath);
  -      expect(result.exitCode, 0,
  -          reason: 'stderr:\n${result.stderr}\nstdout:\n${result.stdout}');
  +      expect(
  +        result.exitCode,
  +        0,
  +        reason: 'stderr:\n${result.stderr}\nstdout:\n${result.stdout}',
  +      );
         expect(result.stdout, '''
   pkg_b
     SDK: dev TASK: dartfmt -n --set-exit-if-changed .
  
positive.code:         );
        });
  
        await Process.run('chmod', ['+x', p.join('tool', 'travis.sh')],
            workingDirectory: repoPath);
        await Process.run(pubBinary, ['get'], workingDirectory: pkgAPath);
        await Process.run(pubBinary,
            ['global', 'activate', '-s', 'path', Directory.current.path]);
      });
  
      tearDownAll(() {
  
negative.code:         final end = stdOutString.indexOf(testFileName) + testFileName.length;
          final logPath = stdOutString.substring(start, end);
          final logFile = File(logPath);
          expect(
            logFile.existsSync(),
            isTrue,
            reason: 'Log file should exist: $logPath',
          );
          expect(logFile.readAsStringSync(), contains('Some tests failed'));
        });
      });
  