diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-11-15 09:22:32 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-11-16 16:05:43 +0100 |
commit | b5202e655b887bb563accbce8fa130616861e08c (patch) | |
tree | c910ff66574682703755b201e0020a179d99e3fa /t/01-reading.t | |
parent | 44e8b969f4232a659b08bcc145b9dc41d4ecef07 (diff) |
Update tests
Diffstat (limited to 't/01-reading.t')
-rw-r--r-- | t/01-reading.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/01-reading.t b/t/01-reading.t index ba9bd55..2bc6dcd 100644 --- a/t/01-reading.t +++ b/t/01-reading.t @@ -11,7 +11,7 @@ use Config::Parser::NULL; my Config $config = Config.new; my Config::Parser $null-parser = Config::Parser::NULL; -throws-like { $config.read('t/files/none'.IO) }, X::Config::FileNotFound, 'Reading nonexisting file'; +throws-like { $config.=read('t/files/none'.IO) }, X::Config::FileNotFound, 'Reading nonexisting file'; my %hash = %( "a" => "a", @@ -20,7 +20,7 @@ my %hash = %( ), ); -$config.read: %hash; +$config.=read: %hash; is-deeply $config.get, %hash, 'Correctly sets hash'; |