diff options
Diffstat (limited to 'docs/spec/ngdocSpec.js')
| -rw-r--r-- | docs/spec/ngdocSpec.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/spec/ngdocSpec.js b/docs/spec/ngdocSpec.js index 3cd9834b..9eed24ca 100644 --- a/docs/spec/ngdocSpec.js +++ b/docs/spec/ngdocSpec.js @@ -150,6 +150,11 @@ describe('ngdoc', function() { toMatch('</pre>\n\n<h1 id="one">One</h1>\n\n<pre'); }); + it('should replace inline variable type hints', function() { + expect(new Doc().markdown('{@type string}')). + toMatch(/<a\s+.*?class=".*?type-hint type-hint-string.*?".*?>/); + }); + it('should ignore nested doc widgets', function() { expect(new Doc().markdown( 'before<div class="tabbable">\n' + |
