aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinweiClarkChao <[email protected]>2014-02-20 12:50:15 +0800
committerJinweiClarkChao <[email protected]>2014-02-20 12:52:51 +0800
commit31fb10f393fbfd4d7adf528ec70624d2b8d247a8 (patch)
tree1009bb2a4f5fe89b8bc822b68104018ea8df5261 /Blocks/syntax/tests/cases/008_first_line.html
parentbe404e3e01ca839e730c884309c25abef10863c9 (diff)
downloadjinwei.me-31fb10f393fbfd4d7adf528ec70624d2b8d247a8.tar.gz
Six Blocks Version
Diffstat (limited to 'Blocks/syntax/tests/cases/008_first_line.html')
-rw-r--r--Blocks/syntax/tests/cases/008_first_line.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/Blocks/syntax/tests/cases/008_first_line.html b/Blocks/syntax/tests/cases/008_first_line.html
new file mode 100644
index 0000000..169dc38
--- /dev/null
+++ b/Blocks/syntax/tests/cases/008_first_line.html
@@ -0,0 +1,29 @@
1<pre id="sh_008_first_line" class="brush: java; first-line: 10">
2 partial class Foo
3 {
4 function test()
5 {
6 yield return;
7 }
8 }
9</pre>
10
11<script type="text/javascript">
12queue(function()
13{
14 var $sh;
15
16 module('008_first_line');
17
18 test('check the first line', function()
19 {
20 $sh = $('#sh_008_first_line');
21
22 ok_sh($sh);
23 ok_toolbar($sh);
24 ok_gutter($sh);
25 ok_code($sh);
26 equals($sh.find('.gutter .index0').text(), '10', 'First line');
27 });
28});
29</script>
Powered by cgit v1.2.3 (git 2.41.0)