Skip to content

Commit

Permalink
Merge pull request #205 from oalders/hash-merge
Browse files Browse the repository at this point in the history
Remove Hash::Merge
  • Loading branch information
oalders authored Oct 19, 2023
2 parents d4db40b + 32460fd commit 4d85948
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions t/01-detect.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use strict;
use warnings;

use FindBin ();
use Hash::Merge qw( merge );
use JSON::PP ();
use List::Util 1.49 qw( uniq );
use Path::Tiny qw( path );
Expand Down Expand Up @@ -34,7 +33,7 @@ my $first_test_count = keys %{$tests};
my $second_test_count = keys %{$more_tests};
my $expected_total_test_count = $first_test_count + $second_test_count;

my $all_tests = merge( $tests, $more_tests );
my $all_tests = { %$tests, %$more_tests };

my $got_total_test_count = keys %{$all_tests};
is( $expected_total_test_count, $got_total_test_count, 'no tests clobbered' );
Expand Down

0 comments on commit 4d85948

Please sign in to comment.