diff options
author | Jim Meyering <meyering@redhat.com> | 2010-05-15 17:58:52 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-05-31 10:59:11 +0200 |
commit | f385d97a4144a30e23bc35ce8ec33c26b6cd84e9 (patch) | |
tree | c4626695045ca2ec0f47458d7c4d21ee6932ab91 /tests/misc/sort-merge | |
parent | 200501052edde61747a16cd0af60fa925ef87bfb (diff) | |
download | coreutils-f385d97a4144a30e23bc35ce8ec33c26b6cd84e9.tar.xz |
tests: remove unnecessary single quotes in perl hash use: ->{'SYM'}
Run this command:
git grep -l "limits->{'" \
| xargs perl -pi -e "s/limits->{'(.*?)'}/limits->{\$1}/g"
* cfg.mk (sc_prohibit_perl_hash_quotes): New rule to match.
* tests/misc/join: Remove quotes.
* tests/misc/sort: Likewise.
* tests/misc/sort-merge: Likewise.
* tests/misc/test: Likewise.
* tests/misc/unexpand: Likewise.
* tests/misc/uniq: Likewise.
Diffstat (limited to 'tests/misc/sort-merge')
-rwxr-xr-x | tests/misc/sort-merge | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/sort-merge b/tests/misc/sort-merge index 70fc7b4ec..c659505a8 100755 --- a/tests/misc/sort-merge +++ b/tests/misc/sort-merge @@ -34,7 +34,7 @@ my $big_input = "aaa\n" x 1024; # don't need to check for existence, since we're running in a temp dir my $badtmp = 'does/not/exist'; -my $bigint = $limits->{'UINTMAX_OFLOW'}; +my $bigint = $limits->{UINTMAX_OFLOW}; my @Tests = ( |