Wil Cooley via RT wrote:
Show quoted text
This appears to be quite incomplete only covering part of the SYNOPSIS and a handful of functions. If this/that is going to be replaced with got/expected it should be done across the board.
Show quoted text> --- ./lib/Test/More.pm.orig 2006-11-03 11:31:59.000000000 -0800
> +++ ./lib/Test/More.pm 2006-11-03 11:39:54.000000000 -0800
> @@ -53,8 +53,8 @@
> # Various ways to say "ok"
> ok($this eq $that, $test_name);
>
> - is ($this, $that, $test_name);
> - isnt($this, $that, $test_name);
> + is ($got, $exptected, $test_name);
> + isnt($got, $expected, $test_name);
>
> # Rather than print STDERR "# here's what went wrong\n"
> diag("here's what went wrong");
> @@ -64,7 +64,7 @@
>
> cmp_ok($this, '==', $that, $test_name);
>
> - is_deeply($complex_structure1, $complex_structure2, $test_name);
> + is_deeply($got_complex_structure, $expected_complex_structure, $test_name);
>
> SKIP: {
> skip $why, $how_many unless $have_some_feature;
> @@ -267,8 +267,8 @@
>
> =item B<isnt>
>
> - is ( $this, $that, $test_name );
> - isnt( $this, $that, $test_name );
> + is ( $got, $expected, $test_name );
> + isnt( $got, $expected, $test_name );
>
> Similar to ok(), is() and isnt() compare their two arguments
> with C<eq> and C<ne> respectively and use the result of that to
> @@ -760,7 +760,7 @@
>
> =item B<is_deeply>
>
> - is_deeply( $this, $that, $test_name );
> + is_deeply( $got, $expected, $test_name );
>
> Similar to is(), except that if $this and $that are references, it
> does a deep comparison walking each data structure to see if they are