summaryrefslogtreecommitdiff
path: root/t/25-app-raps2-basic.t
blob: 127f904b4c2a2730aaeff747d579e507a202cf72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env perl
use strict;
use warnings;
use 5.010;

use Test::More tests => 3;

use_ok('App::Raps2');

my $r2 = App::Raps2->new( dont_touch_fs => 1, no_cli => 1 );
isa_ok($r2, 'App::Raps2');

is_deeply(
	$r2->file_to_hash('t/in/hash'),
	{ key => 'value', otherkey => 'othervalue' },
	'file_to_hash works',
);