anchor.diff:  
   library trace_test;
   
  +import 'dart:io';
   import 'dart:uri';
   
   import 'package:pathos/path.dart' as path;
  
positive.code:   });
  
    test('.toString() nicely formats the stack trace', () {
      var absolute = path.absolute(path.join('foo', 'bar.dart'));
      var trace = new Trace.parse('''
  #0      Foo._bar (file://$absolute:42:21)
  #1      zip.<anonymous closure>.zap (dart:async:0:2)
  #2      zip.<anonymous closure>.zap (http://pub.dartlang.org/thing.dart:1:100)
  ''');
  
negative.code: '''));
    });
  }
  
  String _pathToFileUri(String pathString) {
    pathString = path.absolute(pathString);
    if (Platform.operatingSystem != 'windows') return 'file://$pathString';
    return 'file:///${pathString.replaceAll("\\", "/")}';
  }
  