aboutsummaryrefslogtreecommitdiff
path: root/t/01-reading.t
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2017-04-27 15:01:23 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-07-25 02:16:21 +0200
commit14370ef0978b3955852afb9159ae7414471f6324 (patch)
tree4ee13ad2ee3e2c2c3a6b86621918ae09ab3c2ac2 /t/01-reading.t
parentcda7a1812e05220de069d44dd8be40e855fb4bd7 (diff)
Update method sigs, type checking and tests
Diffstat (limited to 't/01-reading.t')
-rw-r--r--t/01-reading.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/01-reading.t b/t/01-reading.t
index 0792188..f834226 100644
--- a/t/01-reading.t
+++ b/t/01-reading.t
@@ -4,14 +4,13 @@ use v6.c;
use Test;
use lib "lib";
-plan 5;
+plan 4;
use Config;
my $config = Config.new();
throws-like { $config.read("t/files/none") }, Config::Exception::FileNotFoundException, "Reading nonexisting file";
-throws-like { $config.read("t/files/config") }, Config::Exception::UnknownTypeException, "Reading file of unknown type";
throws-like { $config.read("t/files/config", "Config::Parser:NoSuchParserForTest") }, Config::Exception::MissingParserException, "Using non-existing parser";
my $hash = {