Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 import 'dart:isolate'; | |
| 6 import 'package:unittest/unittest.dart'; | |
| 7 | |
| 8 final PACKAGE_URI = "package:foo/bar.txt"; | |
| 9 | |
| 10 main() async { | |
| 11 var uri = await Isolate.resolvePackageUri(Uri.parse(PACKAGE_URI)); | |
| 12 expect(uri, Uri.base.resolve('packages/foo/bar.txt')); | |
| 13 } | |
| OLD | NEW |