From fde2553f6e2ab87b0dc3806b2dfdb67cac1aea71 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 18 Apr 2009 15:27:10 +0200 Subject: put proper plans in every test --- t/01-basic.t | 2 +- t/03-byname.t | 2 +- t/04-errors.t | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/t/01-basic.t b/t/01-basic.t index a6670a5..e947e7a 100644 --- a/t/01-basic.t +++ b/t/01-basic.t @@ -32,7 +32,7 @@ package OtherTransform;{ } package main; -use Test::Most qw(no_plan die); +use Test::Most tests=>2,'die'; use strict; use warnings; use Tree::DAG_Node::XPath; diff --git a/t/03-byname.t b/t/03-byname.t index 784138b..8c3723f 100644 --- a/t/03-byname.t +++ b/t/03-byname.t @@ -17,7 +17,7 @@ package NameTransform;{ } package main; -use Test::Most qw(no_plan die); +use Test::Most tests=>1,'die'; use strict; use warnings; use Tree::DAG_Node::XPath; diff --git a/t/04-errors.t b/t/04-errors.t index 107c1bd..ae02713 100644 --- a/t/04-errors.t +++ b/t/04-errors.t @@ -1,6 +1,6 @@ #!perl package main; -use Test::Most qw(no_plan); +use Test::Most tests=>7; use strict; use warnings; use Tree::DAG_Node::XPath; -- cgit v1.2.3