aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;