mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Reorg test fixtures
This commit is contained in:
10
test/fixtures/perl/perl-test.t
vendored
Normal file
10
test/fixtures/perl/perl-test.t
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use Foo::Bar
|
||||
|
||||
$n = 42;
|
||||
$name = "world";
|
||||
@array = ("1","2","3");
|
||||
%hash = ("foo":"bar");
|
||||
my $name = "josh";
|
||||
2
test/fixtures/perl/script.pl
vendored
Executable file
2
test/fixtures/perl/script.pl
vendored
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/usr/local/bin/perl
|
||||
print "Perl\n"
|
||||
2
test/fixtures/perl/test-perl.pl
vendored
Normal file
2
test/fixtures/perl/test-perl.pl
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/perl
|
||||
print "Hello, world!\n";
|
||||
3
test/fixtures/perl/test-perl2.pl
vendored
Normal file
3
test/fixtures/perl/test-perl2.pl
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
# Perl file without shebang
|
||||
print "Hello, world!\n";
|
||||
Reference in New Issue
Block a user