From 61aacb5c1bd3368366484b9e03cf90ccf85f1125 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 14 Nov 2015 17:16:17 +0100 Subject: Run go fmt and go vet --- cryptfs/config_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cryptfs/config_test.go') diff --git a/cryptfs/config_test.go b/cryptfs/config_test.go index 2e46a25..cd8ed2f 100644 --- a/cryptfs/config_test.go +++ b/cryptfs/config_test.go @@ -26,13 +26,13 @@ func TestLoadV2(t *testing.T) { } elapsed := time.Since(t1) - if elapsed < 100 *time.Millisecond { - t.Errorf("scrypt calculation runs too fast: %d ms", elapsed / time.Millisecond) + if elapsed < 100*time.Millisecond { + t.Errorf("scrypt calculation runs too fast: %d ms", elapsed/time.Millisecond) } } func TestLoadV2PwdError(t *testing.T) { - if ! testing.Verbose() { + if !testing.Verbose() { Warn.Disable() } _, _, err := LoadConfFile("config_test/v2.conf", "wrongpassword") -- cgit v1.2.3