Bugzilla – Attachment 66951 Details for
Bug 15339
TestBuilder build parameter warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15339: Remove extra 'my'
Bug-15339-Remove-extra-my.patch (text/plain), 990 bytes, created by
Jonathan Druart
on 2017-09-07 16:55:26 UTC
(
hide
)
Description:
Bug 15339: Remove extra 'my'
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-09-07 16:55:26 UTC
Size:
990 bytes
patch
obsolete
>From a715ee9d3b0cf3a4b9c4bc8c09dd9c4cf85276ad Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 7 Sep 2017 13:55:01 -0300 >Subject: [PATCH] Bug 15339: Remove extra 'my' > >--- > t/db_dependent/TestBuilder.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/TestBuilder.t b/t/db_dependent/TestBuilder.t >index c3ea95c074..1a2c2fda3c 100644 >--- a/t/db_dependent/TestBuilder.t >+++ b/t/db_dependent/TestBuilder.t >@@ -42,7 +42,7 @@ subtest 'Start with some trivial tests' => sub { > isnt( $builder, undef, 'We got a builder' ); > > my $data; >- warning_like { my $data = $builder->build; } qr/.+/, 'Catch a warning'; >+ warning_like { $data = $builder->build; } qr/.+/, 'Catch a warning'; > is( $data, undef, 'build without arguments returns undef' ); > is( ref( $builder->schema ), 'Koha::Schema', 'check schema' ); > is( ref( $builder->can('delete') ), 'CODE', 'found delete method' ); >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15339
:
45527
|
45528
|
66892
|
66893
|
66894
|
66921
|
66922
|
66923
|
66924
| 66951