/[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 228 by dpavlin, Fri Oct 31 23:10:08 2008 UTC revision 229 by dpavlin, Sat Nov 1 13:17:45 2008 UTC
# Line 2  Line 2 
2  use strict;  use strict;
3  use warnings;  use warnings;
4    
5  use Test::More tests => 12;  use Test::More tests => 11;
6  use lib 'lib';  use lib 'lib';
7    
8  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
# Line 39  diag dump($whole) if $debug; Line 39  diag dump($whole) if $debug;
39    
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( ! eval { $o->config('non-existenting') }, 'non-existing' );  ok( ! $o->config('non-existenting'), 'non-existing' );
 ok( $@, 'detected' );  

Legend:
Removed from v.228  
changed lines
  Added in v.229

  ViewVC Help
Powered by ViewVC 1.1.26