File: fix_test_failure.patch

package info (click to toggle)
libbio-das-lite-perl 2.11-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 468 kB
  • ctags: 57
  • sloc: xml: 1,299; perl: 1,152; makefile: 29
file content (19 lines) | stat: -rw-r--r-- 605 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Alex Muntada <alexm@alexm.org>
Last-Update: Sun, 7 Aug 2016 13:22:21 +0200
Bug-Debian: https://bugs.debian.org/832845
Description: Make sure a module is used first before ""use base" of it.
 The second part of the patch (s/base/parent/) was done due to a hint
 of Jonas Smedegaard <dr@jones.dk>.

--- a/t/FileStubChunked.pm
+++ b/t/FileStubChunked.pm
@@ -8,7 +8,8 @@
 package t::FileStubChunked;
 use strict;
 use warnings;
-use base qw(t::FileStub);
+use t::FileStub;
+use parent qw(t::FileStub);
 
 our $VERSION = do { my @r = (q$Revision: 19 $ =~ /\d+/mxg); sprintf '%d.'.'%03d' x $#r, @r };