-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
202e42c
commit f6ca3b5
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ use warnings; | |
use Test::More; | ||
use JSON; | ||
|
||
use URI::PackageURL::CLI; | ||
use URI::PackageURL::App; | ||
|
||
sub cmd { | ||
|
||
|
@@ -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; | ||
|
@@ -28,7 +28,7 @@ sub cmd { | |
|
||
my $t1 = 'pkg:cpan/GDT/[email protected]'; | ||
|
||
subtest "CLI '$t1' (JSON output)" => sub { | ||
subtest "App '$t1' (JSON output)" => sub { | ||
|
||
my $test_1 = cmd($t1, '--json'); | ||
|
||
|