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