From b2f492fe6ba48ce594f8df81d857b9d213258115 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 7 Jun 2014 22:54:23 +0300 Subject: [PATCH] Remove useless comments and add shebang to test --- t/POE-Component-IRC-Plugin-Hello.t | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/t/POE-Component-IRC-Plugin-Hello.t b/t/POE-Component-IRC-Plugin-Hello.t index dab4d9c..7eae8c8 100644 --- a/t/POE-Component-IRC-Plugin-Hello.t +++ b/t/POE-Component-IRC-Plugin-Hello.t @@ -1,3 +1,4 @@ +#!/usr/bin/perl -w use v5.14; use strict; use warnings; @@ -7,7 +8,6 @@ use Test::MockObject; BEGIN { use_ok('POE::Component::IRC::Plugin::Hello') }; -# Variable setup my $hello_sent; my $mockirc = Test::MockObject->new; @@ -16,7 +16,6 @@ $mockirc->mock(yield => sub { $hello_sent = 1 })->set_always(nick_name => 'hello my $self = POE::Component::IRC::Plugin::Hello->new; my $channels = [ '#chan' ]; -# Sub setup sub runtest{ my ($message, $expect, $comment) = @_; $hello_sent=0; @@ -24,7 +23,6 @@ sub runtest{ ok($hello_sent == $expect, $comment) } -#Tests runtest 'privet', 1, 'simple privet'; runtest 'PrIvEt', 1, 'privet in mixed case'; runtest ' privet ', 1, 'privet with spaces'; -- 2.30.2