From 46370fe275807fa8fe3e76945ea1e4d7bcef1177 Mon Sep 17 00:00:00 2001
From: Kenichi Ishigaki <ishigaki@cpan.org>
Date: Thu, 24 Jan 2019 07:00:20 +0900
Subject: [PATCH] =?UTF-8?q?Skip=20t/lazy=5Fload=5Ffor=5Fstorable.t=20if=20?=
 =?UTF-8?q?Storable=20is=20already=20loaded=20by=20toolchain=20(fix=20#11,?=
 =?UTF-8?q?=20patch=20by=20Slaven=20Rezi=C4=87)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

https://github.com/tokuhirom/HTTP-Headers-Fast/issues/11#issuecomment-456973320
---
 t/lazy_load_for_storable.t | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/t/lazy_load_for_storable.t b/t/lazy_load_for_storable.t
index 19674bb..b7f7221 100644
--- a/t/lazy_load_for_storable.t
+++ b/t/lazy_load_for_storable.t
@@ -1,6 +1,13 @@
 use strict;
 use warnings;
+use Test::More;
+BEGIN {
+    if ($INC{"Storable.pm"}) {
+        plan skip_all => "Storable is already loaded by toolchain";
+    }
+}
 use HTTP::Headers::Fast;
-use Test::More tests => 1;
+
+plan tests => 1;
 
 is $INC{'Storable.pm'}, undef;