From: Vincent Pit Date: Sun, 29 Jun 2008 15:18:09 +0000 (+0200) Subject: Use is() instead of ok(), and don't output codepoints X-Git-Tag: v0.07~23 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=b3585f9e0f4aa7b4ee4fbd7376b6c05d1dbf8c24;p=perl%2Fmodules%2FBit-MorseSignals.git Use is() instead of ok(), and don't output codepoints --- diff --git a/t/50-chitchat-plain.t b/t/50-chitchat-plain.t index a419830..18750b1 100644 --- a/t/50-chitchat-plain.t +++ b/t/50-chitchat-plain.t @@ -14,7 +14,7 @@ my @msgs = qw/hlagh hlaghlaghlagh HLAGH HLAGHLAGHLAGH \x{0dd0}\x{00} my $deuce = new Bit::MorseSignals::Emitter; my $pants = new Bit::MorseSignals::Receiver done => sub { my $cur = shift @msgs; - ok($_[1] eq $cur, 'got ' . $_[1] . ', received ' . $cur) + is($_[1], $cur, 'received message is correct'); }; $deuce->post($_) for @msgs;