/lib/syntaxhighlighter_3.0.83/tests/cases/003_script_tag.html
HTML | 42 lines | 36 code | 6 blank | 0 comment | 0 complexity | 536709228e677632d3345762662f115e MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
- <div>
- <script id="sh_003_script_tag" type="syntaxhighlighter" class="brush: csharp" title="Title/caption should render"><![CDATA[
- partial class Foo
- {
- function test()
- {
- yield return;
- yield break;
- }
- }
- function foo()
- {
- var vector:Vector.<Vector.<String>> = new Vector<Vector.String>>();
-
- for (var i = 0; i < 10; i++)
- {
- /* comments */
- }
- }
- ]]></script>
- </div>
- <script type="text/javascript">
- queue(function()
- {
- var $sh;
-
- module('003_script_tag');
- test('basic html check of default elements', function()
- {
- $sh = $('#sh_003_script_tag');
-
- ok_sh($sh);
- ok_toolbar($sh);
- ok_caption($sh, 'Title/caption should render');
- ok_gutter($sh);
- ok_code($sh);
- });
- });
- </script>