Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 17351d9

Browse files
committed
fixup tests
1 parent 6cf4df1 commit 17351d9

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

lib/tools/source_metadata_extractor.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class SourceMetadataExtractor {
117117
}
118118
}
119119

120-
class DirectiveMetadataCollectingAstVisitor extends RecursiveAstVisitor {
120+
class DirectiveMetadataCollectingAstVisitor extends RecursiveASTVisitor {
121121
final List<DirectiveMetadata> metadata;
122122
final List<String> templates;
123123

test/angular_spec.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ main() {
245245
"di.FactoryFn",
246246
"di.Injector",
247247
"di.InvalidBindingError",
248+
"di.Key",
248249
"di.Module",
249250
"di.NoProviderError",
250251
"di.ObjectFactory",
@@ -256,7 +257,8 @@ main() {
256257
"route.client.RouteEnterEventHandler",
257258
"route.client.RouteEvent",
258259
"route.client.RouteHandle",
259-
"route.client.RouteImpl",
260+
// This will be present in the new Route package.
261+
// "route.client.RouteImpl",
260262
"route.client.RouteLeaveEvent",
261263
"route.client.RouteLeaveEventHandler",
262264
"route.client.RoutePreEnterEvent",

test/routing/routing_spec.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ main() {
5353
_ = injector.get(TestBed);
5454
}
5555

56-
it('should configure route hierarchy from provided config', async(() {
56+
// TODO(chirayu): requires new route package.
57+
xit('should configure route hierarchy from provided config', async(() {
5758
var counters = {
5859
'foo': 0,
5960
'bar': 0,

0 commit comments

Comments
 (0)