/[Frey]/trunk/t/01-frey-config.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/t/01-frey-config.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 437 by dpavlin, Sat Nov 1 13:17:45 2008 UTC revision 438 by dpavlin, Wed Nov 19 01:32:36 2008 UTC
# Line 2  Line 2 
2  use strict;  use strict;
3  use warnings;  use warnings;
4    
5  use Test::More tests => 11;  use Test::More tests => 13;
6  use lib 'lib';  use lib 'lib';
7    
8  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
# Line 40  diag dump($whole) if $debug; Line 40  diag dump($whole) if $debug;
40  cmp_ok( $o->config->{test}, 'eq', $o->config('Test::Mock')->{test}, 'text' );  cmp_ok( $o->config->{test}, 'eq', $o->config('Test::Mock')->{test}, 'text' );
41    
42  ok( ! $o->config('non-existenting'), 'non-existing' );  ok( ! $o->config('non-existenting'), 'non-existing' );
43    
44    ok( ! $o->load_config, 'load_config' );
45    is_deeply( $o->config, $config, 'not duplicated' );

Legend:
Removed from v.437  
changed lines
  Added in v.438

  ViewVC Help
Powered by ViewVC 1.1.26