From 7853b6178612f471fb0c580538294fda41555614 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 19 Jan 2020 22:50:11 -0500 Subject: [PATCH] provider/perl: test older versions --- test/functional/provider/perl_spec.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/functional/provider/perl_spec.lua b/test/functional/provider/perl_spec.lua index 38cecae35c..7b446e4ab3 100644 --- a/test/functional/provider/perl_spec.lua +++ b/test/functional/provider/perl_spec.lua @@ -30,7 +30,8 @@ describe('perl host', function() local fname = 'Xtest-perl-hello.pl' write_file(fname, [[ package main; - use v5.22.1; + use strict; + use warnings; use Neovim::Ext; use Neovim::Ext::MsgPack::RPC; @@ -47,6 +48,8 @@ describe('perl host', function() local fname = 'Xtest-perl-hello-plugin.pl' write_file(fname, [[ package TestPlugin; + use strict; + use warnings; use parent qw(Neovim::Ext::Plugin); __PACKAGE__->register; @@ -60,7 +63,8 @@ describe('perl host', function() } package main; - use v5.22.1; + use strict; + use warnings; use Neovim::Ext; use Neovim::Ext::MsgPack::RPC;