diff options
author | Russ Allbery <rra@cpan.org> | 2022-01-19 20:56:06 -0800 |
---|---|---|
committer | Russ Allbery <rra@cpan.org> | 2022-01-19 20:56:06 -0800 |
commit | d894ebc08135f8cd5d64909bafb66ead2c287ec2 (patch) | |
tree | 3f5eb7a8c77bca606cde55ae3526d866a4844a5c /t/update | |
parent | 7a7a772aac03a66ae798291617073ecf632ae574 (diff) | |
parent | 13e3dad9b573c16ed25535574b37bea52f469b6d (diff) |
Update upstream source from tag 'upstream/7.01'
Update to upstream version '7.01'
with Debian dir 562c75a654c93a9fe4b0e2662c13ce89a9939d07
Diffstat (limited to 't/update')
-rwxr-xr-x | t/update/spin.t | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/t/update/spin.t b/t/update/spin.t index c692c80..d2bbc5a 100755 --- a/t/update/spin.t +++ b/t/update/spin.t @@ -46,20 +46,16 @@ $update->update_spin($tempdir); # Check the resulting output. my $expected = path('t', 'data', 'spin', 'update', 'output'); my $count = is_spin_output_tree("$tempdir", "$expected", 'Tree updated'); -my @changes = grep { m{ deleted | new [ ] file }xms } $repo->run('status'); -@changes = map { [split(q{ })] } sort(@changes); -is_deeply( - \@changes, - [ - ['deleted:', 'module.rpod'], - ['deleted:', 'readme.rpod'], - ['deleted:', 'script.rpod'], - ['new', 'file:', 'module.spin'], - ['new', 'file:', 'readme.spin'], - ['new', 'file:', 'script.spin'], - ], - 'Git operations', +my @status = sort $repo->run('status', '-s'); +my @changes = ( + 'A module.spin', + 'A readme.spin', + 'A script.spin', + 'D module.rpod', + 'D readme.rpod', + 'D script.rpod', ); +is_deeply(\@status, \@changes, 'Git operations'); # Report the end of testing. done_testing($count + 2); |