aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-01-19 22:50:11 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-01-20 19:44:00 -0500
commit7853b6178612f471fb0c580538294fda41555614 (patch)
treeb27bc963ec20d4e0743cb5c4846499a64c58a948
parent670a14a2a6a2c9abc97227f0a34712fa8e2e6465 (diff)
downloadrneovim-7853b6178612f471fb0c580538294fda41555614.tar.gz
rneovim-7853b6178612f471fb0c580538294fda41555614.tar.bz2
rneovim-7853b6178612f471fb0c580538294fda41555614.zip
provider/perl: test older versions
-rw-r--r--test/functional/provider/perl_spec.lua8
1 files 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;