File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -418,25 +418,25 @@ describe('ngdoc', function(){
418
418
doc . parse ( ) ;
419
419
420
420
expect ( doc . description ) .
421
- toContain ( 'foo <a href="#!api/angular.foo"><code>angular.foo</code></a>' ) ;
421
+ toContain ( 'foo <a href="#!/ api/angular.foo"><code>angular.foo</code></a>' ) ;
422
422
expect ( doc . description ) .
423
- toContain ( 'da <a href="#!api/angular.foo"><code>bar foo bar</code></a>' ) ;
423
+ toContain ( 'da <a href="#!/ api/angular.foo"><code>bar foo bar</code></a>' ) ;
424
424
expect ( doc . description ) .
425
- toContain ( 'dad<a href="#!api/angular.foo"><code>angular.foo</code></a>' ) ;
425
+ toContain ( 'dad<a href="#!/ api/angular.foo"><code>angular.foo</code></a>' ) ;
426
426
expect ( doc . description ) .
427
- toContain ( '<a href="#!api/angular.directive.ng:foo"><code>ng:foo</code></a>' ) ;
427
+ toContain ( '<a href="#!/ api/angular.directive.ng:foo"><code>ng:foo</code></a>' ) ;
428
428
expect ( doc . description ) .
429
429
toContain ( '<a href="http://angularjs.org">http://angularjs.org</a>' ) ;
430
430
expect ( doc . description ) .
431
431
toContain ( '<a href="./static.html">./static.html</a>' ) ;
432
432
} ) ;
433
433
434
- it ( 'shoul support line breaks in @link' , function ( ) {
434
+ it ( 'should support line breaks in @link' , function ( ) {
435
435
var doc = new Doc ( "@description " +
436
436
'{@link\napi/angular.foo\na\nb}' ) ;
437
437
doc . parse ( ) ;
438
438
expect ( doc . description ) .
439
- toContain ( '<a href="#!api/angular.foo">a b</a>' ) ;
439
+ toContain ( '<a href="#!/ api/angular.foo"><code> a b</code> </a>' ) ;
440
440
} ) ;
441
441
442
442
} ) ;
You can’t perform that action at this time.
0 commit comments