| Index: tests/compiler/dart2js/memory_source_file_helper.dart
|
| diff --git a/tests/compiler/dart2js/memory_source_file_helper.dart b/tests/compiler/dart2js/memory_source_file_helper.dart
|
| index 2efa806afe50a2455d983d01b60339eacc5dc13e..c6b3b3cf33b8c237d860600d4b4a075b7d9f33f2 100644
|
| --- a/tests/compiler/dart2js/memory_source_file_helper.dart
|
| +++ b/tests/compiler/dart2js/memory_source_file_helper.dart
|
| @@ -33,7 +33,8 @@ class MemorySourceFileProvider extends SourceFileProvider {
|
| }
|
| String source = memorySourceFiles[resourceUri.path];
|
| if (source == null) {
|
| - return new Future.error(new Exception('No such file $resourceUri'));
|
| + return new Future.error(new Exception(
|
| + 'No such memory file $resourceUri in ${memorySourceFiles.keys}'));
|
| }
|
| this.sourceFiles[resourceUri] =
|
| new StringSourceFile.fromUri(resourceUri, source);
|
| @@ -48,7 +49,8 @@ class MemorySourceFileProvider extends SourceFileProvider {
|
| }
|
| String source = memorySourceFiles[resourceUri.path];
|
| if (source == null) {
|
| - throw new Exception('No such file $resourceUri');
|
| + throw new Exception(
|
| + 'No such memory file $resourceUri in ${memorySourceFiles.keys}');
|
| }
|
| return new StringSourceFile.fromUri(resourceUri, source);
|
| }
|
|
|