diff --git a/source/Ox.UI/js/Code/DocPage.js b/source/Ox.UI/js/Code/DocPage.js index d66041a4..5d4a77c5 100644 --- a/source/Ox.UI/js/Code/DocPage.js +++ b/source/Ox.UI/js/Code/DocPage.js @@ -212,7 +212,10 @@ Ox.DocPage = function(options, self) { .css({marginLeft: (level * 32 + 16) + 'px'}) .html( '' - + Ox.encodeHTMLEntities(test.actual || test.expected) + + Ox.encodeHTMLEntities( + test.passed === false && !isAsync + ? test.actual : test.expected + ) + ( test.passed === false && !isAsync ? ' // expected: '