develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r34254 - trunk/languages/markdown/t

From:
fperrad
Date:
December 22, 2008 13:01
Subject:
[svn:parrot] r34254 - trunk/languages/markdown/t
Message ID:
20081222210103.A3D2CCBA12@x12.develooper.com
Author: fperrad
Date: Mon Dec 22 13:01:02 2008
New Revision: 34254

Modified:
   trunk/languages/markdown/t/00-sanity.t
   trunk/languages/markdown/t/10-heading.t
   trunk/languages/markdown/t/11-hrule.t
   trunk/languages/markdown/t/12-blockquote.t
   trunk/languages/markdown/t/13-para.t
   trunk/languages/markdown/t/14-list.t
   trunk/languages/markdown/t/20-emphasis.t
   trunk/languages/markdown/t/21-code.t
   trunk/languages/markdown/t/22-escape.t
   trunk/languages/markdown/t/23-entity.t
   trunk/languages/markdown/t/MarkdownTest.t

Log:
[Markdown] Test
- now, work with a correct pragma 'use lib'

Modified: trunk/languages/markdown/t/00-sanity.t
==============================================================================
--- trunk/languages/markdown/t/00-sanity.t	(original)
+++ trunk/languages/markdown/t/00-sanity.t	Mon Dec 22 13:01:02 2008
@@ -8,7 +8,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib -Imarkdown/t markdown/t/00-sanity.t
+    % perl t/00-sanity.t
 
 =head1 DESCRIPTION
 
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 use FindBin;
-use lib "$FindBin::Bin";
+use lib "$FindBin::Bin/../../../lib", "$FindBin::Bin";
 
 use Parrot::Test tests => 1;
 use Test::More;

Modified: trunk/languages/markdown/t/10-heading.t
==============================================================================
--- trunk/languages/markdown/t/10-heading.t	(original)
+++ trunk/languages/markdown/t/10-heading.t	Mon Dec 22 13:01:02 2008
@@ -8,14 +8,14 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib -Imarkdown/t markdown/t/10-heading.t
+    % perl t/10-heading.t
 
 =cut
 
 use strict;
 use warnings;
 use FindBin;
-use lib "$FindBin::Bin";
+use lib "$FindBin::Bin/../../../lib", "$FindBin::Bin";
 
 use Parrot::Test tests => 4;
 use Test::More;

Modified: trunk/languages/markdown/t/11-hrule.t
==============================================================================
--- trunk/languages/markdown/t/11-hrule.t	(original)
+++ trunk/languages/markdown/t/11-hrule.t	Mon Dec 22 13:01:02 2008
@@ -8,14 +8,14 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib -Imarkdown/t markdown/t/10-hrule.t
+    % perl t/10-hrule.t
 
 =cut
 
 use strict;
 use warnings;
 use FindBin;
-use lib "$FindBin::Bin";
+use lib "$FindBin::Bin/../../../lib", "$FindBin::Bin";
 
 use Parrot::Test tests => 3;
 use Test::More;

Modified: trunk/languages/markdown/t/12-blockquote.t
==============================================================================
--- trunk/languages/markdown/t/12-blockquote.t	(original)
+++ trunk/languages/markdown/t/12-blockquote.t	Mon Dec 22 13:01:02 2008
@@ -8,14 +8,14 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib -Imarkdown/t markdown/t/12-blockquote.t
+    % perl t/12-blockquote.t
 
 =cut
 
 use strict;
 use warnings;
 use FindBin;
-use lib "$FindBin::Bin";
+use lib "$FindBin::Bin/../../../lib", "$FindBin::Bin";
 
 use Parrot::Test tests => 1;
 use Test::More;

Modified: trunk/languages/markdown/t/13-para.t
==============================================================================
--- trunk/languages/markdown/t/13-para.t	(original)
+++ trunk/languages/markdown/t/13-para.t	Mon Dec 22 13:01:02 2008
@@ -8,14 +8,14 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib -Imarkdown/t markdown/t/13-para.t
+    % perl t/13-para.t
 
 =cut
 
 use strict;
 use warnings;
 use FindBin;
-use lib "$FindBin::Bin";
+use lib "$FindBin::Bin/../../../lib", "$FindBin::Bin";
 
 use Parrot::Test tests => 2;
 use Test::More;

Modified: trunk/languages/markdown/t/14-list.t
==============================================================================
--- trunk/languages/markdown/t/14-list.t	(original)
+++ trunk/languages/markdown/t/14-list.t	Mon Dec 22 13:01:02 2008
@@ -8,14 +8,14 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib -Imarkdown/t markdown/t/14-list.t
+    % perl t/14-list.t
 
 =cut
 
 use strict;
 use warnings;
 use FindBin;
-use lib "$FindBin::Bin";
+use lib "$FindBin::Bin/../../../lib", "$FindBin::Bin";
 
 use Parrot::Test tests => 2;
 use Test::More;

Modified: trunk/languages/markdown/t/20-emphasis.t
==============================================================================
--- trunk/languages/markdown/t/20-emphasis.t	(original)
+++ trunk/languages/markdown/t/20-emphasis.t	Mon Dec 22 13:01:02 2008
@@ -8,14 +8,14 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib -Imarkdown/t markdown/t/20-emphasis.t
+    % perl t/20-emphasis.t
 
 =cut
 
 use strict;
 use warnings;
 use FindBin;
-use lib "$FindBin::Bin";
+use lib "$FindBin::Bin/../../../lib", "$FindBin::Bin";
 
 use Parrot::Test tests => 4;
 use Test::More;

Modified: trunk/languages/markdown/t/21-code.t
==============================================================================
--- trunk/languages/markdown/t/21-code.t	(original)
+++ trunk/languages/markdown/t/21-code.t	Mon Dec 22 13:01:02 2008
@@ -8,14 +8,14 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib -Imarkdown/t markdown/t/21-code.t
+    % perl t/21-code.t
 
 =cut
 
 use strict;
 use warnings;
 use FindBin;
-use lib "$FindBin::Bin";
+use lib "$FindBin::Bin/../../../lib", "$FindBin::Bin";
 
 use Parrot::Test tests => 6;
 use Test::More;

Modified: trunk/languages/markdown/t/22-escape.t
==============================================================================
--- trunk/languages/markdown/t/22-escape.t	(original)
+++ trunk/languages/markdown/t/22-escape.t	Mon Dec 22 13:01:02 2008
@@ -8,14 +8,14 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib -Imarkdown/t markdown/t/22-escape.t
+    % perl t/22-escape.t
 
 =cut
 
 use strict;
 use warnings;
 use FindBin;
-use lib "$FindBin::Bin";
+use lib "$FindBin::Bin/../../../lib", "$FindBin::Bin";
 
 use Parrot::Test tests => 3;
 use Test::More;

Modified: trunk/languages/markdown/t/23-entity.t
==============================================================================
--- trunk/languages/markdown/t/23-entity.t	(original)
+++ trunk/languages/markdown/t/23-entity.t	Mon Dec 22 13:01:02 2008
@@ -8,14 +8,14 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib -Imarkdown/t markdown/t/23-entity.t
+    % perl t/23-entity.t
 
 =cut
 
 use strict;
 use warnings;
 use FindBin;
-use lib "$FindBin::Bin";
+use lib "$FindBin::Bin/../../../lib", "$FindBin::Bin";
 
 use Parrot::Test tests => 2;
 use Test::More;

Modified: trunk/languages/markdown/t/MarkdownTest.t
==============================================================================
--- trunk/languages/markdown/t/MarkdownTest.t	(original)
+++ trunk/languages/markdown/t/MarkdownTest.t	Mon Dec 22 13:01:02 2008
@@ -8,7 +8,7 @@
 
 =head1 SYNOPSIS
 
-    % perl -I../lib -Imarkdown/t markdown/t/MarkdownTest.t
+    % perl t/MarkdownTest.t
 
 =head1 DESCRIPTION
 
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 use FindBin;
-use lib "$FindBin::Bin";
+use lib "$FindBin::Bin/../../../lib", "$FindBin::Bin";
 
 use Parrot::Test;
 use Test::More;



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About