mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 08:02:38 +00:00
provider/perl: test older versions
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user