Skip to content

Commit

Permalink
use Test::LongString instead Test::More in the integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
naoya committed Jun 17, 2013
1 parent 704920d commit 14a7183
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 1 deletion.
55 changes: 55 additions & 0 deletions carton.lock
Expand Up @@ -9638,6 +9638,61 @@
"target" : "Test::Fatal",
"version" : "0.010"
},
"Test::LongString" : {
"dist" : "Test-LongString-0.15",
"mymeta" : {
"abstract" : "unknown",
"author" : [
"Rafael Garcia-Suarez <rgs@consttype.org>"
],
"dynamic_config" : 0,
"generated_by" : "ExtUtils::MakeMaker version 6.55_02, CPAN::Meta::Converter version 2.120921",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
},
"name" : "Test-LongString",
"no_index" : {
"directory" : [
"t",
"inc"
]
},
"prereqs" : {
"build" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
"requires" : {
"Test::Builder" : "0.12",
"Test::Builder::Tester" : "1.04"
}
}
},
"release_status" : "stable",
"version" : "0.15"
},
"name" : "Test::LongString",
"pathname" : "R/RG/RGARCIA/Test-LongString-0.15.tar.gz",
"provides" : {
"Test::LongString" : {
"file" : "Test/LongString.pm",
"version" : "0.15"
}
},
"target" : "Test::LongString",
"version" : "0.15"
},
"Test::NoWarnings" : {
"dist" : "Test-NoWarnings-1.04",
"mymeta" : {
Expand Down
1 change: 1 addition & 0 deletions cpanfile
Expand Up @@ -20,6 +20,7 @@ requires 'JSON', '>= 2.55';

on 'test' => sub {
requires 'Test::More';
requires 'Test::LongString';
requires 'Test::Base';
requires 'Devel::Cover';
requires 'TAP::Formatter::JUnit'
Expand Down
3 changes: 2 additions & 1 deletion t/02_sample_file.t
@@ -1,6 +1,7 @@
use strict;
use warnings;
use Test::More;
use Test::LongString;

use Text::Md2Inao;
use Encode;
Expand All @@ -23,6 +24,6 @@ my $out = $p->parse(slurp "./t/x_input.txt");
my $origin = slurp("./t/x_output.txt");

is length $origin, length $out;
is $origin, $out;
is_string $origin, $out;

done_testing;

0 comments on commit 14a7183

Please sign in to comment.