diff options
Diffstat (limited to 't/conf06.t')
-rw-r--r-- | t/conf06.t | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/t/conf06.t b/t/conf06.t new file mode 100644 index 0000000..69756dc --- /dev/null +++ b/t/conf06.t | |||
@@ -0,0 +1,14 @@ | |||
1 | # -*- perl -*- | ||
2 | use lib qw(t lib); | ||
3 | use strict; | ||
4 | use Test; | ||
5 | use ConfigSpec2; | ||
6 | |||
7 | plan(tests => 1); | ||
8 | |||
9 | my $c = new ConfigSpec2(expect => ['mandatory section [load * param] not present']); | ||
10 | ok($c->errors, 1); | ||
11 | |||
12 | __DATA__ | ||
13 | [core] | ||
14 | base = test | ||