Benchmark.t: fix skip() argument order
authorBrian Gottreu <gottreu@gmail.com>
Fri, 21 Jun 2013 00:28:23 +0000 (17:28 -0700)
committerKarl Williamson <public@khwilliamson.com>
Fri, 21 Jun 2013 02:54:32 +0000 (20:54 -0600)
AUTHORS
lib/Benchmark.t

diff --git a/AUTHORS b/AUTHORS
index 44f52e2..c945fc6 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -163,6 +163,7 @@ Brian Carlson                       <brian.carlson@cpanel.net>
 Brian Clarke                   <clarke@appliedmeta.com>
 brian d foy                    <brian.d.foy@gmail.com>
 Brian Fraser                   <fraserbn@gmail.com>
+Brian Gottreu                   <gottreu@gmail.com>
 Brian Greenfield               <briang@cpan.org>
 Brian Grossman
 Brian Harrison                 <brie@corp.home.net>
index b7d4e7c..1b8d4b4 100644 (file)
@@ -155,7 +155,7 @@ $in_onesec_adj *= (1/$cpu1); # adjust because may not have run for exactly 1s
 print "# in_onesec_adj=$in_onesec_adj adjusted iterations\n";
 
 SKIP: {
-    skip(1, "INCONSISTENT CLOCK") if $INCONSISTENT_CLOCK;
+    skip("INCONSISTENT CLOCK", 1) if $INCONSISTENT_CLOCK;
 
     ok(cmp_delta($in_onesec_adj, $estimate, $DELTA),
                "is $in_onesec_adj within $DELTA of estimate ($estimate)?")