diff options
Diffstat (limited to 't')
-rw-r--r-- | t/29-app-raps2.t | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/t/29-app-raps2.t b/t/29-app-raps2.t index cbb170e..ceaaf51 100644 --- a/t/29-app-raps2.t +++ b/t/29-app-raps2.t @@ -8,13 +8,14 @@ use Test::Fatal; use_ok('App::Raps2'); -is(length(App::Raps2::create_salt()), 16, 'create_salt: correct length'); +my $r2 = App::Raps2->new(); +isa_ok($r2, 'App::Raps2'); + +is(length($r2->create_salt()), 16, 'create_salt: correct length'); is_deeply( - { App::Raps2::file_to_hash('t/in/hash') }, + { $r2->file_to_hash('t/in/hash') }, { key => 'value', otherkey => 'othervalue' }, 'file_to_hash works', ); -my $r2 = App::Raps2->new(); -isa_ok($r2, 'App::Raps2'); |