anchor.diff:    template: r'''
       <a [routerLink]="routerLink"></a>
     ''',
  -  // TODO(b/65383776): Change preserveWhitespace to false to improve codesize.
  -  preserveWhitespace: true,
   )
   class TestRouterLink {
     String routerLink;
  
positive.code:   });
  
    test('should parse out query params and fragment', () async {
      final fixture =
          await new NgTestBed<TestRouterLinkWithTarget>().addProviders([
        provide(Location, useValue: const FakeLocation()),
        provide(Router, useValue: fakeRouter),
      ]).create(beforeChangeDetection: (comp) {
  
negative.code:     RouterLink,
    ],
    template: r'''
      <a (click)="onClick($event)" [routerLink]="routerLink" target="_parent"></a>
    ''',
  )
  class TestRouterLinkWithTarget {
    String routerLink;
  
    void onClick(MouseEvent event) {
      // Prevent navigating away from test page.
      event.preventDefault();
    }
  }
  
  class FakeRouter implements Router {
  