summaryrefslogtreecommitdiff
path: root/t/INI.t
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-09-08 14:06:45 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-09-08 14:06:45 +0200
commit46201011dac9a0738b0b9df36b5bb526da701444 (patch)
tree731ad77022b1967b3ac1d572fb4aee189a7aa0a3 /t/INI.t
parent334819fcd5c0c5d060d9289b235cf61b4299f17f (diff)
Make INI.t optional
Diffstat (limited to 't/INI.t')
-rw-r--r--t/INI.t17
1 files changed, 7 insertions, 10 deletions
diff --git a/t/INI.t b/t/INI.t
index 469589e..019cb12 100644
--- a/t/INI.t
+++ b/t/INI.t
@@ -4,17 +4,14 @@ use v5.22;
use warnings;
use utf8;
-use Config::Tiny;
-use JWebmail::Plugin::INIConfig;
-use Data::Dumper;
-
use Test2::Bundle::More;
-#use Test2::V0;
-#use Test::More;
+
+use Test2::Require::Module 'Config::Tiny';
+use JWebmail::Plugin::INIConfig;
local $/;
-my $data = <DATA>;
+my $data = <DATA>;
close DATA;
my $ct = Config::Tiny->new;
@@ -70,8 +67,8 @@ f = e # not a comment
1 = a
2 = b
-x =
-y =
+x =
+y =
[othersection]
long = my very long value
@@ -93,4 +90,4 @@ x = deeply
0 = a
#[nested::array_section::1::deeply]
-#key = val \ No newline at end of file
+#key = val