| Index: test/checker/checker_test.dart
|
| diff --git a/test/checker/checker_test.dart b/test/checker/checker_test.dart
|
| index fd5f8c023e142026637e620577fe3c0a34f95698..aa4aafa75cf7f9fa2669ec6e38951f07a9c11221 100644
|
| --- a/test/checker/checker_test.dart
|
| +++ b/test/checker/checker_test.dart
|
| @@ -8,6 +8,7 @@ library dev_compiler.test.checker_test;
|
| import 'package:test/test.dart';
|
|
|
| import 'package:dev_compiler/src/testing.dart';
|
| +import '../test_util.dart' show testDirectory;
|
|
|
| void main() {
|
| test('ternary operator', () {
|
| @@ -2895,7 +2896,7 @@ void main() {
|
|
|
| int foo(int x) => x;
|
| int bar(int x, int y) => x + y;
|
| -
|
| +
|
| void main() {
|
| bool b;
|
| b = /*severe:InvalidRuntimeCheckError*/foo is I2I;
|
| @@ -2931,4 +2932,15 @@ void main() {
|
| '''
|
| });
|
| });
|
| +
|
| + test('custom URL mappings', () => testChecker({
|
| + '/main.dart': '''
|
| + import 'dart:foobar' show Baz;
|
| + main() {
|
| + print(Baz.quux);
|
| + }'''
|
| + },
|
| + customUrlMappings: {
|
| + 'dart:foobar': '$testDirectory/checker/dart_foobar.dart'
|
| + }));
|
| }
|
|
|