From: Karen Etheridge Date: Thu, 27 Jun 2013 22:29:28 +0000 (-0700) Subject: make tests pass if Lexical::Persistence is not installed X-Git-Tag: v1.003019~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ca6949b9e7b84c658b3a27f702ef0aeeff832459;p=p5sagit%2FDevel-REPL.git make tests pass if Lexical::Persistence is not installed --- diff --git a/Changes b/Changes index 4906164..07b11d8 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,7 @@ Revision history for Devel-REPL - Fix "No arguments!" error in Plugin::DDS when nothing to dump (RT#71205, Ash Berlin) + - fix failing test when Lexical::Persistence is not installed 1.003018 - 2013-05-19 - more attempts to fix Term::ReadLine issues in tests (RT#84246, mephinet) diff --git a/t/load_core.t b/t/load_core.t index e0008b4..25f635c 100755 --- a/t/load_core.t +++ b/t/load_core.t @@ -27,6 +27,7 @@ unless ($@) { eval 'use Lexical::Persistence'; unless ($@) { use_ok('Devel::REPL::Plugin::CompletionDriver::LexEnv'); + use_ok('Devel::REPL::Plugin::LexEnv'); } use_ok('Devel::REPL::Plugin::CompletionDriver::Globals'); @@ -53,7 +54,6 @@ unless ($@) { } # use_ok('Devel::REPL::Plugin::Interrupt') unless $^O eq 'MSWin32'; -use_ok('Devel::REPL::Plugin::LexEnv'); eval 'use PPI'; unless ($@) {