provider/perl: test older versions

This commit is contained in:
Jan Edmund Lazo
2020-01-19 22:50:11 -05:00
parent 670a14a2a6
commit 7853b61786

View File

@@ -30,7 +30,8 @@ describe('perl host', function()
local fname = 'Xtest-perl-hello.pl' local fname = 'Xtest-perl-hello.pl'
write_file(fname, [[ write_file(fname, [[
package main; package main;
use v5.22.1; use strict;
use warnings;
use Neovim::Ext; use Neovim::Ext;
use Neovim::Ext::MsgPack::RPC; use Neovim::Ext::MsgPack::RPC;
@@ -47,6 +48,8 @@ describe('perl host', function()
local fname = 'Xtest-perl-hello-plugin.pl' local fname = 'Xtest-perl-hello-plugin.pl'
write_file(fname, [[ write_file(fname, [[
package TestPlugin; package TestPlugin;
use strict;
use warnings;
use parent qw(Neovim::Ext::Plugin); use parent qw(Neovim::Ext::Plugin);
__PACKAGE__->register; __PACKAGE__->register;
@@ -60,7 +63,8 @@ describe('perl host', function()
} }
package main; package main;
use v5.22.1; use strict;
use warnings;
use Neovim::Ext; use Neovim::Ext;
use Neovim::Ext::MsgPack::RPC; use Neovim::Ext::MsgPack::RPC;