~ubuntu-branches/ubuntu/trusty/libconfig-model-perl/trusty

« back to all changes in this revision

Viewing changes to lib/Config/Model/Tester.pm

  • Committer: Package Import Robot
  • Author(s): Dominique Dumont, gregor herrmann, Dominique Dumont
  • Date: 2013-05-26 12:40:30 UTC
  • mfrom: (1.3.61)
  • Revision ID: package-import@ubuntu.com-20130526124030-nfmm6ejhjubovp7v
Tags: 2.036-1
[ gregor herrmann ]
* Add =encoding to POD in dh_config_model_upgrade.

[ Dominique Dumont ]
* Imported Upstream version 2.036
  * config-edit: added deprecation warning
  * Value: fix pod doc error in L<> (Closes: #709784)
  * Node::load_data: use a predictable order to accept elements.
    This change fixes the test failure in t/backend_ini.t
    (Closes: #709785)
  * make t/pod.t run only when AUTHOR_TESTING is set

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
#
10
10
package Config::Model::Tester;
11
11
{
12
 
  $Config::Model::Tester::VERSION = '2.035';
 
12
  $Config::Model::Tester::VERSION = '2.036';
13
13
}
14
14
 
15
15
use Test::More;
210
210
                my $v = $check->{$path};
211
211
                my $check_v = ref $v ? delete $v->{value} : $v ;
212
212
                my @check_args = ref $v ? %$v : ();
 
213
                my $check_str = @check_args ? " (@check_args)" : '' ;
213
214
                is( $root->grab(step => $path, @check_args)->fetch (@check_args), 
214
 
                    $check_v, "check $path value (@check_args)" );
 
215
                    $check_v, "check $path value$check_str" );
215
216
        }
216
217
 
217
218
        if (my $annot_check = $t->{verify_annotation}) {
350
351
 
351
352
=head1 VERSION
352
353
 
353
 
version 2.035
 
354
version 2.036
354
355
 
355
356
=head1 SYNOPSIS
356
357