Skip to content

Commit

Permalink
typo should be fixed in tests too
Browse files Browse the repository at this point in the history
  • Loading branch information
chorny committed Jul 29, 2010
1 parent 45bbbc0 commit f5c6345
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions Changes
@@ -1,5 +1,7 @@
Revision history for Perl extension Test::Warn.

- fixes in English

0.21 Aug 29 2009
- rename internal package Tree::MyDAG_Node with Test::Warn::DAG_Node_Tree

Expand Down
4 changes: 2 additions & 2 deletions t/warning_is.t
Expand Up @@ -77,7 +77,7 @@ sub _found_warn_msg {
__FILE__,
"line",
WARN_LINE . ".") )
: "didn't found a warning";
: "didn't find a warning";
}

sub _exp_warn_msg {
Expand All @@ -94,7 +94,7 @@ sub _found_carp_msg {
__FILE__,
"line",
CARP_LINE) ) # Note the difference, that carp msg
: "didn't found a warning"; # aren't finished by '.'
: "didn't find a warning"; # aren't finished by '.'
}

sub _exp_carp_msg {
Expand Down
4 changes: 2 additions & 2 deletions t/warning_like.t
Expand Up @@ -80,7 +80,7 @@ sub _found_warn_msg {
__FILE__,
"line",
WARN_LINE . ".") )
: "didn't found a warning";
: "didn't find a warning";
}

sub _exp_warn_msg {
Expand All @@ -97,7 +97,7 @@ sub _found_carp_msg {
__FILE__,
"line",
CARP_LINE) ) # Note the difference, that carp msg
: "didn't found a warning"; # aren't finished by '.'
: "didn't find a warning"; # aren't finished by '.'
}

sub _exp_carp_msg {
Expand Down
4 changes: 2 additions & 2 deletions t/warnings_are.t
Expand Up @@ -81,12 +81,12 @@ sub test_warnings_are {

sub _found_warn_msg {
@_ ? map({"found warning: $_ at ". __FILE__ . " line " . WARN_LINE . "." } @_)
: "didn't found a warning";
: "didn't find a warning";
}

sub _found_carp_msg {
@_ ? map({"found carped warning: $_ at ". __FILE__ . " line " . CARP_LINE} @_)
: "didn't found a warning";
: "didn't find a warning";
}


Expand Down
4 changes: 2 additions & 2 deletions t/warnings_like.t
Expand Up @@ -84,12 +84,12 @@ sub test_warnings_like {

sub _found_warn_msg {
@_ ? map({"found warning: $_ at ". __FILE__ . " line " . WARN_LINE . "." } @_)
: "didn't found a warning";
: "didn't find a warning";
}

sub _found_carp_msg {
@_ ? map({"found carped warning: $_ at ". __FILE__ . " line " . CARP_LINE} @_)
: "didn't found a warning";
: "didn't find a warning";
}


Expand Down

0 comments on commit f5c6345

Please sign in to comment.