aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2017-10-01 16:24:48 +0100
committerSimon McVittie <smcv@debian.org>2017-10-01 16:24:48 +0100
commit6e5f320ab8d01eac6860f5777b6467e426d4136d (patch)
treee94cf3cd1a99869eb84d1735b9209fe45741b9e1 /t
parent0a04d9a5f1003203868471b961037c431d6cb442 (diff)
downloadikiwiki-6e5f320ab8d01eac6860f5777b6467e426d4136d.tar
ikiwiki-6e5f320ab8d01eac6860f5777b6467e426d4136d.tar.gz
t/git-untrusted.t: Fix redundant declaration
Signed-off-by: Simon McVittie <smcv@debian.org>
Diffstat (limited to 't')
-rwxr-xr-xt/git-untrusted.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/git-untrusted.t b/t/git-untrusted.t
index 285a242e8..5fd2efb9e 100755
--- a/t/git-untrusted.t
+++ b/t/git-untrusted.t
@@ -184,7 +184,7 @@ sub test {
isnt($h->full_result(0), 0);
is($out, '');
like($err, qr{remote: <.*>staff only</.*> is locked and cannot be edited});
- my $sha1 = run_git(['rev-list', '--max-count=1', 'HEAD'], chdir => "$tmp/repo.git");
+ $sha1 = run_git(['rev-list', '--max-count=1', 'HEAD'], chdir => "$tmp/repo.git");
is($sha1, $allowed_sha1, 'proposed commit was not pushed');
$sha1 = run_git(['rev-list', '--max-count=1', 'HEAD']);
is($sha1, $allowed_sha1, 'proposed commit was not pushed');