From: Rafael Garcia-Suarez Date: Mon, 25 May 2009 09:23:08 +0000 (+0200) Subject: Avoid using Test::More in given/when tests X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=37e07c40549a5df0a8597fbe30d09e4faf5fc8ee;p=p5sagit%2Fp5-mst-13.2.git Avoid using Test::More in given/when tests --- diff --git a/t/op/switch.t b/t/op/switch.t index 7d33b3e..d8cb781 100644 --- a/t/op/switch.t +++ b/t/op/switch.t @@ -3,17 +3,17 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; + require './test.pl'; } use strict; use warnings; -use Test::More tests => 122; +plan tests => 122; # The behaviour of the feature pragma should be tested by lib/switch.t # using the tests in t/lib/switch/*. This file tests the behaviour of # the switch ops themselves. - use feature 'switch';