Skip to content

Commit 82bb484

Browse files
committed
Merge remote-tracking branch 'masiuchi/fix_typos'
Fixed one additional typo Fixes #1049
2 parents dc793bb + 9bbbc38 commit 82bb484

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

Changes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@
10391039

10401040
*****************************************************************************
10411041
* *
1042-
* BELOW THIS POINT ARE THE SEPERATE CHANGELOGS FOR Test-Simple, Test2, AND *
1042+
* BELOW THIS POINT ARE THE SEPARATE CHANGELOGS FOR Test-Simple, Test2, AND *
10431043
* Test-Stream. *
10441044
* *
10451045
*****************************************************************************

lib/Test2/API.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ documentation for details on how to best use it.
946946
947947
=head1 ENVIRONMENT VARIABLES
948948
949-
See L<Test2::Env> for a list of meaningul environment variables.
949+
See L<Test2::Env> for a list of meaningful environment variables.
950950
951951
=head1 MAIN API EXPORTS
952952
@@ -1585,7 +1585,7 @@ which case new strings will be passed in. These are purely informative, you can
15851585
=item test2_add_pending_diag($diag1, $diag2)
15861586
15871587
Add a diagnostics message that will be issued the next time a context in which
1588-
a failure occured is released.
1588+
a failure occurred is released.
15891589
15901590
This can also be thought of like this: "If the next bit causes a failed
15911591
assertion, add this diagnostics message".

lib/Test2/API/InterceptResult.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ These are essentially:
483483
$events->grep(causes_failure => @{$PARAMS{args}})
484484
485485
B<Note:> C<causes_fail()> and C<causes_failure()> are both aliases for
486-
eachother in events, so these methods are effectively aliases here as well.
486+
each other in events, so these methods are effectively aliases here as well.
487487
488488
It returns a new instance containing only the events that cause failure.
489489

lib/Test2/Env.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ Test2 sets this variable when tests are running.
8080
8181
=head1 TEST2_ENABLE_PLUGINS
8282
83-
This can be used to force plugins to be loaded whent he Test2 API is loaded. It
84-
takes a list of one or more plugin names seperated by comma. If the module name
83+
This can be used to force plugins to be loaded when the Test2 API is loaded. It
84+
takes a list of one or more plugin names separated by comma. If the module name
8585
does not have a '+' in front of it then the C<Test2::Plugin::> namespace is
8686
assumed and added. If a '+' is present at the start of a module name it will be
8787
stripped and no further modification will be made.
@@ -98,7 +98,7 @@ Set by Test2 when tests are running.
9898
=head1 TS_MAX_DELTA
9999
100100
Used to determine how many max lines of output will be provided when is() finds
101-
a deep data strucgture mismatch.
101+
a deep data structure mismatch.
102102
103103
=head1 SOURCE
104104

lib/Test2/Hub.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ use Test2::Util::HashBase qw{
4040

4141
{
4242
no warnings 'once';
43-
# Support an originally mispelled method name, at least 1 downstream
43+
# Support an originally misspelled method name, at least 1 downstream
4444
# release already uses it. It will be fixed, but we do not want to break
4545
# things before it is fixed.
4646
*surpress_release_error = \&suppress_release_error;

lib/Test2/Manual/Testing/Introduction.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Which produces:
153153
( LAUNCH ) job 1 example.t
154154
( NOTE ) job 1 Seeded srand with seed '20171014' from local date.
155155
[ PASS ] job 1 + 1 is true, so this will pass
156-
[ PLAN ] job 1 Expected asserions: 1
156+
[ PLAN ] job 1 Expected assertions: 1
157157
( PASSED ) job 1 example.t
158158
159159
================================================================================

lib/Test2/Manual/Tooling/Nesting.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The naive way to do this is to write a C<check_class()> function like this:
5151
This will appear to work fine, and you might not notice any problems,
5252
I<so long as the tests are passing.>
5353
54-
=head2 WHATS WRONG WITH IT?
54+
=head2 WHAT'S WRONG WITH IT?
5555
5656
The problems with the naive approach become obvious if things start to fail.
5757
The diagnostics that tell you what file and line the failure occurred on will be

lib/Test2/Mock.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ sub _inject {
425425
&& (reftype($orig) ne 'SCALAR' || defined($$orig));
426426

427427
$syms->{"$sig$sym"} ||= [];
428-
push @{$syms->{"$sig$sym"}} => $orig; # Might be undef, thats expected
428+
push @{$syms->{"$sig$sym"}} => $orig; # Might be undef, that's expected
429429

430430
if ($self->{+_TRACK} && $sig eq '&') {
431431
my $sub_tracker = $self->{+SUB_TRACKING};

lib/Test2/V0.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ This plugin has no configuration.
289289
290290
=head1 ENVIRONMENT VARIABLES
291291
292-
See L<Test2::Env> for a list of meaningul environment variables.
292+
See L<Test2::Env> for a list of meaningful environment variables.
293293
294294
=head1 API FUNCTIONS
295295

t/Test2/modules/Util.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use Test2::Util qw/
3636
{
3737
for my $try (\&try, Test2::Util->can('_manual_try'), Test2::Util->can('_local_try')) {
3838
my ($ok, $err) = $try->(sub { die "xxx" });
39-
ok(!$ok, "cought exception");
39+
ok(!$ok, "caught exception");
4040
like($err, qr/xxx/, "expected exception");
4141

4242
($ok, $err) = $try->(sub { 0 });

0 commit comments

Comments
 (0)