blob: c0a1201934df0870801f8f60a4c340a76e20337d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<pre id="sh_013_html_script" class="brush: groovy; html-script: true">
<hello>
<%
package free.cafekiwi.gotapi;
%>
</hello>
<!--
Comments here
-->
<%= 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>
|