fix a bug that would keep test results from being displayed
This commit is contained in:
parent
07369fefec
commit
c831b89944
1 changed files with 4 additions and 3 deletions
|
@ -169,11 +169,11 @@ Ox.DocPage = function(options, self) {
|
|||
+ '</b></code>'
|
||||
)
|
||||
);
|
||||
test.result && $elements.push($('<div>')
|
||||
test.expected && $elements.push($('<div>')
|
||||
.addClass(className)
|
||||
.css({marginLeft: (level * 32 + 16) + 'px'})
|
||||
.html(
|
||||
'<code>' + Ox.encodeHTMLEntities(test.result) + '</code>'
|
||||
'<code>' + Ox.encodeHTMLEntities(test.expected) + '</code>'
|
||||
)
|
||||
)
|
||||
});
|
||||
|
@ -183,7 +183,8 @@ Ox.DocPage = function(options, self) {
|
|||
.addClass(className)
|
||||
.css({marginLeft: 16 + 'px'})
|
||||
.html(
|
||||
'<code><b>' + self.options.item.file.replace(Ox.PATH, '')
|
||||
'<code><b>'
|
||||
+ self.options.item.file.replace(Ox.PATH, '')
|
||||
+ '</b>:' + self.options.item.line + '</code>'
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue