Skip to content

Commit

Permalink
t/loc_tools.pl: White-space only
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed May 5, 2021
1 parent cc84a86 commit e111b57
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions t/loc_tools.pl
Expand Up @@ -394,7 +394,9 @@ ($;$)
my $input_categories = shift;
my $allow_incompatible = shift // 0;

my @categories = (ref $input_categories) ? $input_categories->@* : $input_categories;
my @categories = (ref $input_categories)
? $input_categories->@*
: $input_categories;
return unless locales_enabled(\@categories);

# Note, the subroutine call above converts the $categories into a form
Expand Down Expand Up @@ -585,7 +587,7 @@ ($)
}

die "Couldn't restore locale '$save_locale'"
unless setlocale(&POSIX::LC_CTYPE(), $save_locale);
unless setlocale(&POSIX::LC_CTYPE(), $save_locale);

return $ret;
}
Expand Down

0 comments on commit e111b57

Please sign in to comment.