diff options
author | Patrick Spek <p.spek@tyil.nl> | 2017-07-29 03:04:12 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-07-25 02:16:34 +0200 |
commit | 571f679bab6490a28b5478f9c0616eacceef6dc8 (patch) | |
tree | 3dd5a63fe8bbd1d747b387e97bcbac8916924df6 /t/01-reading.t | |
parent | 839e59c5bdbc5e924e469033edc52e7d2c0eeb98 (diff) |
Clean up all tests
Diffstat (limited to 't/01-reading.t')
-rw-r--r-- | t/01-reading.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/01-reading.t b/t/01-reading.t index 07e92c3..f7bf7d4 100644 --- a/t/01-reading.t +++ b/t/01-reading.t @@ -8,7 +8,7 @@ plan 5; use Config; -my $config = Config.new(); +my Config $config = Config.new(); throws-like { $config.read("t/files/none") }, Config::Exception::FileNotFoundException, "Reading nonexisting file"; throws-like { $config.read("t/files/config", "Config::Parser:NoSuchParserForTest") }, Config::Exception::MissingParserException, "Using non-existing parser"; |