diff options
author | Guillem Jover <guillem@debian.org> | 2014-11-18 23:56:10 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2015-01-28 20:50:31 +0100 |
commit | 061c572fdade80049d96db839d60d89e7387f607 (patch) | |
tree | 2ae940cd8c352c2fb499a04dde18d47604e860e7 /src/t | |
parent | 8d557d6c8ea6f370e00d13eaa6234b2ef2d800dc (diff) | |
download | dpkg-061c572fdade80049d96db839d60d89e7387f607.tar.gz |
test: Move use strict and warnings as the first directives
Diffstat (limited to 'src/t')
-rw-r--r-- | src/t/dpkg_divert.t | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/t/dpkg_divert.t b/src/t/dpkg_divert.t index 9c4b3c63a..93265b3bc 100644 --- a/src/t/dpkg_divert.t +++ b/src/t/dpkg_divert.t @@ -13,14 +13,16 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <https://www.gnu.org/licenses/>. +use strict; +use warnings; + use Test::More; + use File::Spec; + use Dpkg::File; use Dpkg::IPC; -use strict; -use warnings; - # Cleanup environment from variables that pollute the test runs. delete $ENV{DPKG_MAINTSCRIPT_PACKAGE}; delete $ENV{DPKG_MAINTSCRIPT_ARCH}; |