[libtest2-perl] 03/05: Refresh spelling error patch
Lucas Kanashiro
kanashiro.duarte at gmail.com
Sat Mar 12 16:45:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
kanashiro-guest pushed a commit to branch master
in repository libtest2-perl.
commit 4e2e00ca8c1cae03548fbe49de46daa802fe8c5b
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date: Sat Mar 12 13:21:12 2016 -0300
Refresh spelling error patch
---
debian/changelog | 1 +
debian/patches/spelling.patch | 87 ++++++++++++++++++++++++-------------------
2 files changed, 49 insertions(+), 39 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index fc4ea9b..de28c69 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
libtest2-perl (0.000029-1) UNRELEASED; urgency=medium
* Import upstream version 0.000029
+ * Refresh spelling error patch
-- Lucas Kanashiro <kanashiro.duarte at gmail.com> Sat, 12 Mar 2016 13:14:58 -0300
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
index 8d17919..9620f3b 100644
--- a/debian/patches/spelling.patch
+++ b/debian/patches/spelling.patch
@@ -7,7 +7,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
--- a/Changes
+++ b/Changes
-@@ -9,7 +9,7 @@
+@@ -29,7 +29,7 @@
0.000023 2016-01-28 20:34:09-08:00 America/Los_Angeles
- Add context_do()
@@ -18,7 +18,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
- Minor enhancement to test tools
--- a/lib/Test2/API.pm
+++ b/lib/Test2/API.pm
-@@ -42,12 +42,12 @@
+@@ -44,12 +44,12 @@ our @EXPORT_OK = qw{
test2_stack
test2_no_wait
@@ -33,7 +33,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
test2_list_context_init_callbacks
test2_list_context_release_callbacks
test2_list_exit_callbacks
-@@ -89,10 +89,10 @@
+@@ -91,10 +91,10 @@ sub import {
goto &import;
}
@@ -48,7 +48,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
sub test2_init_done { $INST->finalized }
sub test2_load_done { $INST->loaded }
-@@ -105,12 +105,12 @@
+@@ -107,12 +107,12 @@ sub test2_no_wait {
$INST->no_wait;
}
@@ -63,7 +63,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
sub test2_list_context_init_callbacks { @{$INST->context_init_callbacks} }
sub test2_list_context_release_callbacks { @{$INST->context_release_callbacks} }
sub test2_list_exit_callbacks { @{$INST->exit_callbacks} }
-@@ -138,7 +138,7 @@
+@@ -140,7 +140,7 @@ sub test2_formatter_set {
# Private, for use in Test2::API::Context
sub _contexts_ref { $INST->contexts }
@@ -72,7 +72,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
sub _context_init_callbacks_ref { $INST->context_init_callbacks }
sub _context_release_callbacks_ref { $INST->context_release_callbacks }
-@@ -207,8 +207,8 @@
+@@ -209,8 +209,8 @@ sub context {
my $hid = $hub->{hid};
my $current = $CONTEXTS->{$hid};
@@ -83,7 +83,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
my $level = 1 + $params{level};
my ($pkg, $file, $line, $sub) = caller($level);
-@@ -772,7 +772,7 @@
+@@ -778,7 +778,7 @@ Usage:
}
Using this inside your test tool takes care of a lot of boilerplate for you. It
@@ -92,7 +92,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
will insure the context is released when you are done. It preserves the
subroutine call context (array, scalar, void).
-@@ -809,9 +809,9 @@
+@@ -815,9 +815,9 @@ Useage:
=back
This tool will hide a context for the provided block of code. This means any
@@ -104,16 +104,16 @@ Bug: https://github.com/Test-More/Test2/issues/11
This will normally hide the current context for the top hub. If you need to
hide the context for a different hub you can pass in the optional C<$hid>
-@@ -861,7 +861,7 @@
- =item $BUFFERED
+@@ -877,7 +877,7 @@ parameters hash. The param hash will be
- If this is true then the subtest will be buffered. In a buffered subtest the
--child events are hidden from the formatter, the formatter will only recieve the
-+child events are hidden from the formatter, the formatter will only receive the
- final L<Test2:Event::Subtest> event. In an unbuffered subtest the formatter
- will see all events as they happen, as well as the final one.
+ If this is true, or a hashref with a true value for the 'buffered' key, then
+ the subtest will be buffered. In a buffered subtest the child events are hidden
+-from the formatter, the formatter will only recieve the final
++from the formatter, the formatter will only receive the final
+ L<Test2:Event::Subtest> event. In an unbuffered subtest the formatter will see
+ all events as they happen, as well as the final one.
-@@ -950,37 +950,37 @@
+@@ -966,37 +966,37 @@ Add a callback that will be called when
means the callback will be run once, the first time a context is obtained.
If Test2 has already finished loading then the callback will be run immedietly.
@@ -161,7 +161,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
--- a/lib/Test2/API/Context.pm
+++ b/lib/Test2/API/Context.pm
-@@ -464,7 +464,7 @@
+@@ -466,7 +466,7 @@ This will release the context. This runs
hooks. It will also restore C<$!>, C<$?>, and C<$@> to what they were when the
context was created.
@@ -172,7 +172,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
call to C<release()> will reset C<$?>, C<$!>, C<$@>,and run the cleanup tasks.
--- a/lib/Test2/API/Instance.pm
+++ b/lib/Test2/API/Instance.pm
-@@ -27,7 +27,7 @@
+@@ -29,7 +29,7 @@ use Test2::Util::HashBase qw{
exit_callbacks
post_load_callbacks
@@ -181,7 +181,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
context_init_callbacks
context_release_callbacks
};
-@@ -78,7 +78,7 @@
+@@ -80,7 +80,7 @@ sub reset {
$self->{+EXIT_CALLBACKS} = [];
$self->{+POST_LOAD_CALLBACKS} = [];
@@ -190,7 +190,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
$self->{+CONTEXT_INIT_CALLBACKS} = [];
$self->{+CONTEXT_RELEASE_CALLBACKS} = [];
-@@ -162,16 +162,16 @@
+@@ -164,16 +164,16 @@ sub add_formatter {
carp "Formatter $formatter loaded too late to be used as the global formatter";
}
@@ -210,7 +210,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
}
sub add_context_init_callback {
-@@ -500,9 +500,9 @@
+@@ -502,9 +502,9 @@ stored and executed later when C<load()>
Get a hashref of all active contexts keyed by hub id.
@@ -222,7 +222,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
=item $arrayref = $obj->context_init_callbacks
-@@ -574,7 +574,7 @@
+@@ -576,7 +576,7 @@ Get the list of IPC drivers.
Add an IPC driver to the list. The most recently added IPC driver will become
the global one during initialization. If a driver is added after initialization
@@ -231,7 +231,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
"IPC driver $driver loaded too late to be used as the global ipc driver"
-@@ -635,7 +635,7 @@
+@@ -637,7 +637,7 @@ Check if a formatter has been set.
=item $obj->add_formatter($obj)
Add a formatter. The most recently added formatter will become the global one
@@ -242,7 +242,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
"Formatter $formatter loaded too late to be used as the global formatter"
--- a/lib/Test2/Hub.pm
+++ b/lib/Test2/Hub.pm
-@@ -16,7 +16,7 @@
+@@ -18,7 +18,7 @@ use Test2::Util::HashBase qw{
_listeners
_follow_ups
_formatter
@@ -251,7 +251,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
_context_init
_context_release
-@@ -180,22 +180,22 @@
+@@ -182,22 +182,22 @@ sub follow_up {
push @{$self->{+_FOLLOW_UPS}} => $sub;
}
@@ -279,7 +279,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
}
sub add_context_init {
-@@ -632,20 +632,20 @@
+@@ -634,20 +634,20 @@ only argument to your codeblock will be
follow_up subs are called only once, ether when done_testing is called, or in
an END block.
@@ -304,7 +304,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
directly manipulate the hash instead of returning a new one for performance
reasons.
-@@ -653,9 +653,9 @@
+@@ -655,9 +655,9 @@ B<Note> Using this hook could have a hug
The coderef you provide is returned and can be used to remove the hook later.
@@ -316,7 +316,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
=item $sub = $hub->add_context_init(sub { ... });
-@@ -737,7 +737,7 @@
+@@ -739,7 +739,7 @@ number can be larger than the count).
=item $bool = $hub->ended
True if the testing has ended. This MAY return the stack frame of the tool that
@@ -327,7 +327,16 @@ Bug: https://github.com/Test-More/Test2/issues/11
--- a/lib/Test2/IPC/Driver.pm
+++ b/lib/Test2/IPC/Driver.pm
-@@ -250,7 +250,7 @@
+@@ -91,7 +91,7 @@ C<Carp::longmess> to add a stack trace t
+ =item $false = $self->use_shm
+
+ The base class always returns false for this method. You may override it if you
+-wish to use the SHM made avilable in L<Test2::API>/L<Test2::API::Instance>.
++wish to use the SHM made available in L<Test2::API>/L<Test2::API::Instance>.
+
+ =back
+
+@@ -257,7 +257,7 @@ True if you want to make use of the L<Te
=item $bites = $ipc->shm_size()
@@ -338,7 +347,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
=back
--- a/lib/Test2/IPC/Driver/Files.pm
+++ b/lib/Test2/IPC/Driver/Files.pm
-@@ -303,7 +303,7 @@
+@@ -310,7 +310,7 @@ This is an experimental release. Using t
This is the default, and fallback concurrency model for L<Test2>. This
sends events between processes and threads using serialized files in a
@@ -349,7 +358,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
--- a/lib/Test2/Util/HashBase.pm
+++ b/lib/Test2/Util/HashBase.pm
-@@ -210,7 +210,7 @@
+@@ -212,7 +212,7 @@ Setter, used to set the value of the C<f
=item FOO()
@@ -360,7 +369,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
--- a/t/modules/API.t
+++ b/t/modules/API.t
-@@ -238,25 +238,25 @@
+@@ -238,25 +238,25 @@ sub {
my $sub = sub { };
@@ -392,7 +401,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
is((grep { $_ == $sub } Test2::API::test2_list_exit_callbacks()), 2, "got the two instances of the hook");
--- a/t/modules/API/Context.t
+++ b/t/modules/API/Context.t
-@@ -6,7 +6,7 @@
+@@ -6,7 +6,7 @@ BEGIN { require "t/tools.pl" };
use Test2::API qw{
context intercept
test2_stack
@@ -401,7 +410,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
test2_add_callback_context_init
test2_add_callback_context_release
};
-@@ -160,8 +160,8 @@
+@@ -160,8 +160,8 @@ my $ref2 = $hub->add_context_release(sub
test2_add_callback_context_init(sub { die "Bad Arg" unless ref($_[0]) eq 'Test2::API::Context'; push @hooks => 'global_init' });
test2_add_callback_context_release(sub { die "Bad Arg" unless ref($_[0]) eq 'Test2::API::Context'; push @hooks => 'global_release' });
@@ -412,7 +421,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
sub {
push @hooks => 'start';
-@@ -185,23 +185,23 @@
+@@ -185,23 +185,23 @@ sub {
$hub->remove_context_init($ref1);
$hub->remove_context_release($ref2);
@@ -442,7 +451,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
release_deep
release_parent
ctx_release_deep
-@@ -210,8 +210,8 @@
+@@ -210,8 +210,8 @@ is_deeply(
global_release
released_all
new
@@ -455,7 +464,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
ctx_init2
--- a/t/modules/API/Instance.t
+++ b/t/modules/API/Instance.t
-@@ -29,7 +29,7 @@
+@@ -29,7 +29,7 @@ is_deeply(
exit_callbacks => [],
post_load_callbacks => [],
@@ -464,7 +473,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
context_init_callbacks => [],
context_release_callbacks => [],
-@@ -63,7 +63,7 @@
+@@ -63,7 +63,7 @@ is_deeply(
exit_callbacks => [],
post_load_callbacks => [],
@@ -475,7 +484,7 @@ Bug: https://github.com/Test-More/Test2/issues/11
--- a/lib/Test2/Formatter/TAP.pm
+++ b/lib/Test2/Formatter/TAP.pm
-@@ -367,7 +367,7 @@
+@@ -369,7 +369,7 @@ order to do this you use the C<register_
=head2 EVENT METHODS
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtest2-perl.git
More information about the Pkg-perl-cvs-commits
mailing list