summaryrefslogtreecommitdiff
path: root/test-utils_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test-utils_test.go')
-rw-r--r--test-utils_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/test-utils_test.go b/test-utils_test.go
index 4134af9..6f6443c 100644
--- a/test-utils_test.go
+++ b/test-utils_test.go
@@ -1,5 +1,6 @@
/*
- * Minio Go Library for Amazon S3 Compatible Cloud Storage (C) 2015 Minio, Inc.
+ * Minio Go Library for Amazon S3 Compatible Cloud Storage
+ * Copyright 2015-2017 Minio, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -64,11 +65,11 @@ func encodeResponse(response interface{}) []byte {
return bytesBuffer.Bytes()
}
-// Convert string to bool and always return true if any error
+// Convert string to bool and always return false if any error
func mustParseBool(str string) bool {
b, err := strconv.ParseBool(str)
if err != nil {
- return true
+ return false
}
return b
}