Skip to content

Commit

Permalink
Fix t/40-cli.t
Browse files Browse the repository at this point in the history
  • Loading branch information
giterlizzi committed Apr 19, 2024
1 parent 202e42c commit f6ca3b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/40-cli.t
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use warnings;
use Test::More;
use JSON;

use URI::PackageURL::CLI;
use URI::PackageURL::App;

sub cmd {

Expand All @@ -17,7 +17,7 @@ sub cmd {
open(my $output_handle, '>', \$output) or die "Can't open handle file: $!";
my $original_handle = select $output_handle;

URI::PackageURL::CLI->run(@arguments);
URI::PackageURL::App->run(@arguments);
chomp $output;

select $original_handle;
Expand All @@ -28,7 +28,7 @@ sub cmd {

my $t1 = 'pkg:cpan/GDT/URI-PackageURL@2.00';

subtest "CLI '$t1' (JSON output)" => sub {
subtest "App '$t1' (JSON output)" => sub {

my $test_1 = cmd($t1, '--json');

Expand Down

0 comments on commit f6ca3b5

Please sign in to comment.