aboutsummaryrefslogtreecommitdiff
path: root/t/01numbered.t
blob: a464684881f21f54a63632942cd7d19230d6e97e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- perl -*-
use lib qw(t lib);
use strict;
use TestBackup;
use File::Backup;
    
plan test => 4;

makefile('a');

my $name = backup_numbered('a');
ok($name, 'a.~1~');
fileok('a', $name);

$name = backup_numbered('a');
ok($name, 'a.~2~');
fileok('a', $name);
    
    

Return to:

Send suggestions and report system problems to the System administrator.