blob: 6e6b1be0799819d16a760fa4015f510f346c1d44 (
plain) (
blame)
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
30
31
32
33
|
<pre id="sh_005_no_gutter" class="brush: java; gutter: false;">
public Image getImage(URL url, String name) {
try {
/*
Regular multiline comment.
*/
return getImage(new URL(url, name));
} catch (MalformedURLException e) {
return null;
}
}
</pre>
<script type="text/javascript">
queue(function()
{
var $sh;
module('005_no_gutter');
test('check that there is no gutter', function()
{
$sh = $('#sh_005_no_gutter');
ok_sh($sh);
ok_toolbar($sh);
ok_code($sh);
ok($sh.find('> .syntaxhighlighter.nogutter').length == 1, '.nogutter present');
ok($sh.find('> .syntaxhighlighter > table > tbody > tr > .gutter').length == 0, 'Gutter not present');
});
});
</script>
|