/pigeoncms/Plugins/syntaxhighlighter/tests/cases/008_first_line.html
http://pigeoncms.googlecode.com/ · HTML · 29 lines · 25 code · 4 blank · 0 comment · 0 complexity · 2d1827c846fb12e57f1d1d79e6a5058a MD5 · raw file
- <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>