diff options
author | Michael Muré <batolettre@gmail.com> | 2018-10-27 11:51:50 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-10-27 11:51:50 +0200 |
commit | 5653ae98e0a7ac4396ac4e840f88ccf7ccdf7d7f (patch) | |
tree | f1e5ed7127426371cea353738ee3c5e6b3940c74 /util/interrupt/cleaner_test.go | |
parent | 8be1078dd6400765a9b9202a81c40ede3ee01981 (diff) | |
download | git-bug-5653ae98e0a7ac4396ac4e840f88ccf7ccdf7d7f.tar.gz |
interrupt: minor cleaning
Diffstat (limited to 'util/interrupt/cleaner_test.go')
-rw-r--r-- | util/interrupt/cleaner_test.go | 4 |
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") } |