Subversion Repositories pub

Compare Revisions

Ignore whitespace Rev 101 → Rev 102

/wp-js-syntax-highlighter/branches/0.4.0+3.0.83/sh/tests/cases/013_html_script.html
0,0 → 1,34
<pre id="sh_013_html_script" class="brush: groovy; html-script: true">
&lt;hello>
&lt;%
package free.cafekiwi.gotapi;
%>
&lt;/hello>
 
<!--
Comments here
-->
&lt;%= print(); %>
</pre>
 
<script type="text/javascript">
queue(function()
{
var $sh;
module('013_html_script');
 
test('check markup', function()
{
$sh = $('#sh_013_html_script');
ok_sh($sh);
ok_gutter($sh);
ok_code($sh);
ok($sh.find('.code .number1 > .htmlscript').length > 0, 'Has .htmlscript on line 1');
ok($sh.find('.code .number3 > .groovy').length > 0, 'Has .groovy on line 3');
ok($sh.find('.code .number10 > .groovy').length > 0, 'Has .groovy on line 10');
});
});
</script>