Permalink
Browse files

Add test for the default session alias.

  • Loading branch information...
1 parent 46a7f14 commit 3b3ff764778b075706c2be032d40f2ed870b018d @dolmen committed Oct 25, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 t/15simple.t
View
4 t/15simple.t
@@ -4,7 +4,7 @@
use strict;
use warnings;
use Test::NoWarnings;
-use Test::More tests => 38;
+use Test::More tests => 39;
my @tests;
@@ -38,6 +38,8 @@ is $POE::Component::Logger::DefaultLevel, 'warning', 'DefaultLevel';
POE::Component::Logger->spawn(
ConfigFile => t::lib::Log::Dispatch::Config::Test->configurator);
+isnt $poe_kernel->alias_resolve('logger'), undef, "'logger' session exists";
+
is $POE::Component::Logger::DefaultLevel, 'warning', 'DefaultLevel';
POE::Session->create(

0 comments on commit 3b3ff76

Please sign in to comment.