diff options
Diffstat (limited to 'server/sonar-web/tests')
-rw-r--r-- | server/sonar-web/tests/components/source-viewer-test.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/server/sonar-web/tests/components/source-viewer-test.js b/server/sonar-web/tests/components/source-viewer-test.js index abdad6bcaef..1a8219e6032 100644 --- a/server/sonar-web/tests/components/source-viewer-test.js +++ b/server/sonar-web/tests/components/source-viewer-test.js @@ -71,6 +71,20 @@ describe('Source Viewer', function () { result = helper(code, []); expect(result).to.equal('<span class="j">#include <stdio.h></span>'); }); + + // TODO SONAR-7365 + it.skip('should parse syntax and usage highlighting', function () { + var code = '<span class="k"><span class="sym-3 sym">this</span></span>', + result = helper(code, []); + expect(result).to.equal(code); + }); + + // TODO SONAR-7365 + it.skip('should parse nested tags', function () { + var code = '<span class="k"><span class="sym-3 sym">this</span> is</span>', + result = helper(code, []); + expect(result).to.equal(code); + }); }); }); |