Skip to content
Browse files

Add code to Morse: for more context.

  • Loading branch information...
1 parent f7d9446 commit 20f389852e704cf806e01e47b4cf69437173e5e3 yegg committed
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/DDG/Goodie/Morse.pm
  2. +2 −2 t/Morse.t
View
2 lib/DDG/Goodie/Morse.pm
@@ -19,7 +19,7 @@ handle remainder => sub {
return unless $_;
my $convertor = is_morse($_) ? \&as_ascii : \&as_morse;
- return "Morse: " . $convertor->($_);
+ return "Morse code: " . $convertor->($_);
};
1;
View
4 t/Morse.t
@@ -13,9 +13,9 @@ ddg_goodie_test(
[qw(
DDG::Goodie::Morse
)],
- 'morse ... --- ...' => test_zci('Morse: SOS'),
+ 'morse ... --- ...' => test_zci('Morse code: SOS'),
'morse hello, duck' =>
- test_zci('Morse: .... . .-.. .-.. --- --..-- -.. ..- -.-. -.-'),
+ test_zci('Morse code: .... . .-.. .-.. --- --..-- -.. ..- -.-. -.-'),
);
done_testing;

0 comments on commit 20f3898

Please sign in to comment.
Something went wrong with that request. Please try again.