diff options
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'; |