Fix expected numeric values of log-levels -- new levels are now one up
authormike <mike>
Mon, 26 Feb 2007 14:56:26 +0000 (14:56 +0000)
committermike <mike>
Mon, 26 Feb 2007 14:56:26 +0000 (14:56 +0000)
the power list since ZOOM_Perl itself registers "zoom_check".

t/27-logging.t

index cbc9b6a..4415126 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: 27-logging.t,v 1.1 2005-12-21 16:58:36 mike Exp $
+# $Id: 27-logging.t,v 1.2 2007-02-26 14:56:26 mike Exp $
 
 # Before `make install' is performed this script should be runnable with
 # `make test'. After `make install' it should work as `perl 27-logging.t'
@@ -13,12 +13,12 @@ check_level("none", 0);
 check_level("none,debug", 2);
 check_level("none,warn", 4);
 check_level("none,warn,debug", 6);
-check_level("none,zoom", 8192);
+check_level("none,zoom", 16384);
 check_level("none,-warn", 0);
 check_level("", 2077);
 check_level("-warn", 2073);
-check_level("zoom", 10269);
-check_level("none,zoom,fruit", 24576);
+check_level("zoom", 18461);
+check_level("none,zoom,fruit", 49152);
 
 sub check_level {
     my($str, $expect) = @_;