From b5202e655b887bb563accbce8fa130616861e08c Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Sun, 15 Nov 2020 09:22:32 +0100 Subject: Update tests --- t/01-reading.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't/01-reading.t') 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'; -- cgit v1.1