| Index: third_party/pkg/angular/test/io/source_metadata_extractor_spec.dart
|
| ===================================================================
|
| --- third_party/pkg/angular/test/io/source_metadata_extractor_spec.dart (revision 33054)
|
| +++ third_party/pkg/angular/test/io/source_metadata_extractor_spec.dart (working copy)
|
| @@ -6,13 +6,13 @@
|
| import '../jasmine_syntax.dart';
|
| import 'package:unittest/unittest.dart';
|
|
|
| -main() => describe('source_metadata_extractor', () {
|
| +main() => describe('source_metadata_extarctor', () {
|
| it('should extract all attribute mappings including annotations', () {
|
| var sourceCrawler = new SourceCrawlerImpl(['packages/']);
|
| - var sourceMetadataExtractor = new SourceMetadataExtractor();
|
| + var sourceMetadataExtractor = new SourceMetadataExtractor(sourceCrawler);
|
| List<DirectiveInfo> directives =
|
| sourceMetadataExtractor
|
| - .gatherDirectiveInfo('test/io/test_files/main.dart', sourceCrawler);
|
| + .gatherDirectiveInfo('test/io/test_files/main.dart');
|
|
|
| expect(directives, hasLength(2));
|
|
|
|
|