aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinweiClarkChao <[email protected]>2014-09-23 22:34:14 +0800
committerJinwei Zhao <[email protected]>2017-01-13 15:07:44 +0800
commitb214f38d2c24a890ce36512a0c8bab965e27a508 (patch)
tree1522b651444407cbf120798e79be4657f1b472ab /Code/Blocks/syntax/tests/cases/013_html_script.html
parente13882d1656b143533cec307a19425e0a56ec999 (diff)
downloadjinwei.me-b214f38d2c24a890ce36512a0c8bab965e27a508.tar.gz
README
Diffstat (limited to 'Code/Blocks/syntax/tests/cases/013_html_script.html')
-rw-r--r--Code/Blocks/syntax/tests/cases/013_html_script.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/Code/Blocks/syntax/tests/cases/013_html_script.html b/Code/Blocks/syntax/tests/cases/013_html_script.html
new file mode 100644
index 0000000..c0a1201
--- /dev/null
+++ b/Code/Blocks/syntax/tests/cases/013_html_script.html
@@ -0,0 +1,34 @@
1<pre id="sh_013_html_script" class="brush: groovy; html-script: true">
2&lt;hello>
3 &lt;%
4 package free.cafekiwi.gotapi;
5 %>
6&lt;/hello>
7
8<!--
9 Comments here
10-->
11&lt;%= print(); %>
12</pre>
13
14<script type="text/javascript">
15queue(function()
16{
17 var $sh;
18
19 module('013_html_script');
20
21 test('check markup', function()
22 {
23 $sh = $('#sh_013_html_script');
24
25 ok_sh($sh);
26 ok_gutter($sh);
27 ok_code($sh);
28
29 ok($sh.find('.code .number1 > .htmlscript').length > 0, 'Has .htmlscript on line 1');
30 ok($sh.find('.code .number3 > .groovy').length > 0, 'Has .groovy on line 3');
31 ok($sh.find('.code .number10 > .groovy').length > 0, 'Has .groovy on line 10');
32 });
33});
34</script> \ No newline at end of file
Powered by cgit v1.2.3 (git 2.41.0)