Skip to content

Commit

Permalink
Fixed mime test.
Browse files Browse the repository at this point in the history
Adding FSharp to SLOC counter.
  • Loading branch information
adamkennedy committed Jan 26, 2015
1 parent 444c545 commit 40b3453
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/Padre/Comment.pm
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ Padre::Comment->register(
'text/x-eiffel' => '--',
'text/x-forth' => '\\',
'text/x-fortran' => '!',
'text/x-fsharp' => '//',
'text/x-haskell' => '--',
'application/x-latex' => '%',
'application/x-lisp' => ';',
Expand Down
3 changes: 2 additions & 1 deletion lib/Padre/SLOC.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Padre::SLOC;

# A basic Source Lines of Code counter/accumulator
# A basic "Source Lines of Code" counter/accumulator

use 5.008;
use strict;
Expand All @@ -24,6 +24,7 @@ my %CONTENT = (
'text/x-adasrc' => 'code',
'text/x-cobol' => 'code',
'text/x-csrc' => 'code',
'text/x-fsharp' => 'code',
'text/x-haskell' => 'code',
'text/x-java' => 'code',
'text/x-pascal' => 'code',
Expand Down
2 changes: 1 addition & 1 deletion t/12_mime.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use strict;
use warnings;
use Test::More tests => 759;
use Test::More tests => 773;
use Test::NoWarnings;
use File::Spec::Functions;
use t::lib::Padre;
Expand Down

0 comments on commit 40b3453

Please sign in to comment.