aboutsummaryrefslogtreecommitdiffstats
path: root/util/interrupt/cleaner_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-10-27 11:51:50 +0200
committerMichael Muré <batolettre@gmail.com>2018-10-27 11:51:50 +0200
commit5653ae98e0a7ac4396ac4e840f88ccf7ccdf7d7f (patch)
treef1e5ed7127426371cea353738ee3c5e6b3940c74 /util/interrupt/cleaner_test.go
parent8be1078dd6400765a9b9202a81c40ede3ee01981 (diff)
downloadgit-bug-5653ae98e0a7ac4396ac4e840f88ccf7ccdf7d7f.tar.gz
interrupt: minor cleaning
Diffstat (limited to 'util/interrupt/cleaner_test.go')
-rw-r--r--util/interrupt/cleaner_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/interrupt/cleaner_test.go b/util/interrupt/cleaner_test.go
index c4e5c9b3..ebe012be 100644
--- a/util/interrupt/cleaner_test.go
+++ b/util/interrupt/cleaner_test.go
@@ -22,7 +22,7 @@ func TestRegisterAndErrorAtCleaning(t *testing.T) {
RegisterCleaner(f2, f3)
// count := 0
- errl := Clean()
+ errl := clean()
if len(errl) != 2 {
t.Fatalf("unexpected error count")
}
@@ -43,7 +43,7 @@ func TestRegisterAndClean(t *testing.T) {
}
RegisterCleaner(f, f2)
- errl := Clean()
+ errl := clean()
if len(errl) != 0 {
t.Fatalf("unexpected error count")
}