zhuguifei
2026-03-10 58402bd5e762361363a0f7d7907153c77dbb819f
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
<pre id="sh_008_first_line" class="brush: java; first-line: 10">
    partial class Foo
    {
        function test()
        {
            yield return;
        }
    }
</pre>
 
<script type="text/javascript">
queue(function()
{
    var $sh;
    
    module('008_first_line');
 
    test('check the first line', function()
    {
        $sh = $('#sh_008_first_line');
        
        ok_sh($sh);
        ok_toolbar($sh);
        ok_gutter($sh);
        ok_code($sh);
        equals($sh.find('.gutter .index0').text(), '10', 'First line');
    });
});
</script>