mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
updated getAncestorLinks tests to reflect previous revert
This commit is contained in:
parent
2a8166cf3b
commit
2c4d5cdd06
@ -712,9 +712,7 @@ describe("jsdoc/util/templateHelper", function() {
|
||||
|
||||
var links = helper.getAncestorLinks(data, lackeys);
|
||||
expect(links.length).toBe(3);
|
||||
// BUG: the link text is ~Henchman and there is a '#' on the end.
|
||||
// should probably have link text ~Henchman#.
|
||||
//expect(links).toContain('<a href="henchman.html">~Henchman#</a>');
|
||||
expect(links).toContain('<a href="henchman.html">~Henchman</a>#');
|
||||
expect(links).toContain('.Sharks');
|
||||
expect(links).toContain('<a href="mafia_gangs.html">mafia/gangs</a>');
|
||||
|
||||
@ -729,7 +727,7 @@ describe("jsdoc/util/templateHelper", function() {
|
||||
|
||||
var links = helper.getAncestorLinks(data, lackeys, 'myClass');
|
||||
expect(links.length).toBe(3);
|
||||
//expect(links).toContain('<a href="henchman.html" class="myClass">~Henchman#</a>');
|
||||
expect(links).toContain('<a href="henchman.html" class="myClass">~Henchman</a>#');
|
||||
expect(links).toContain('.Sharks');
|
||||
expect(links).toContain('<a href="mafia_gangs.html" class="myClass">mafia/gangs</a>');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user