diff options
author | dakkar <dakkar@luxion> | 2006-01-28 11:21:58 +0000 |
---|---|---|
committer | dakkar <dakkar@luxion> | 2006-01-28 11:21:58 +0000 |
commit | 8b30558e59d43c78394c3c3204d30752ffb1d26c (patch) | |
tree | 61d4e346fc2ad996514dd0c8c0e16f392c341a54 /t/03-pipeline.t | |
parent | pipeline fatte e testate, forse fix #2 (diff) | |
download | WebCoso-8b30558e59d43c78394c3c3204d30752ffb1d26c.tar.gz WebCoso-8b30558e59d43c78394c3c3204d30752ffb1d26c.tar.bz2 WebCoso-8b30558e59d43c78394c3c3204d30752ffb1d26c.zip |
usato Class::Std anche negli step
git-svn-id: svn://luxion/repos/WebCoso/trunk@143 fcb26f47-9200-0410-b104-b98ab5b095f3
Diffstat (limited to 't/03-pipeline.t')
-rw-r--r-- | t/03-pipeline.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/03-pipeline.t b/t/03-pipeline.t index 85b769c..a8fcd23 100644 --- a/t/03-pipeline.t +++ b/t/03-pipeline.t @@ -21,7 +21,7 @@ WebCoso::Driver->run(); my @resources=WebCoso::Config->get_all_resources(); -my @calls1=WebCoso::Pipeline::Test->_steps()->[0]->get_calls(); +my @calls1=@{WebCoso::Pipeline::Test->_steps()->[0]->get_calls()}; is(scalar @calls1,2,"2 chiamata a Step1"); is($calls1[0]->{resource}, $resources[0], @@ -36,7 +36,7 @@ is($calls1[1]->{stage}, 'gen', 'stage2==gen (step1)'); -my @calls2=WebCoso::Pipeline::Test->_steps()->[1]->get_calls(); +my @calls2=@{WebCoso::Pipeline::Test->_steps()->[1]->get_calls()}; is(scalar @calls2,2,"2 chiamata a Step2"); is($calls2[0]->{resource}, $calls1[0]->{out_res}, |