diff options
author | JinweiClarkChao <[email protected]> | 2014-09-23 22:34:14 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2017-01-13 15:07:44 +0800 |
commit | b214f38d2c24a890ce36512a0c8bab965e27a508 (patch) | |
tree | 1522b651444407cbf120798e79be4657f1b472ab /Code/Blocks/syntax/tests/cases/008_first_line.html | |
parent | e13882d1656b143533cec307a19425e0a56ec999 (diff) | |
download | jinwei.me-b214f38d2c24a890ce36512a0c8bab965e27a508.tar.gz |
README
Diffstat (limited to 'Code/Blocks/syntax/tests/cases/008_first_line.html')
-rw-r--r-- | Code/Blocks/syntax/tests/cases/008_first_line.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Code/Blocks/syntax/tests/cases/008_first_line.html b/Code/Blocks/syntax/tests/cases/008_first_line.html new file mode 100644 index 0000000..169dc38 --- /dev/null +++ b/Code/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"> | ||
12 | queue(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> | ||