[VOL-1035] Initial submission of flow decomposition code.
Additional test cases will follow to test the core of the flow
decomposition functionality
Change-Id: Ie685714ce5ab54ac89501a67f9489613de195c15
diff --git a/common/log/log_test.go b/common/log/log_test.go
index dbd9ffe..68d6ba3 100644
--- a/common/log/log_test.go
+++ b/common/log/log_test.go
@@ -28,8 +28,7 @@
var testLogger log.Logger
-
-func TestInit (t *testing.T) {
+func TestInit(t *testing.T) {
var err error
testLogger, err = log.AddPackage(log.JSON, log.ErrorLevel, nil)
assert.NotNil(t, testLogger)
@@ -41,7 +40,7 @@
var success bool
for i := 0; i < 6; i++ {
success = testLogger.V(i)
- if i == 1 && minimumLevel == 2{
+ if i == 1 && minimumLevel == 2 {
// TODO: Update the test when a new version of Zap logger is available. It has a bug with that
// specific combination
continue
@@ -54,18 +53,18 @@
}
}
-func TestLogLevelDebug (t *testing.T) {
+func TestLogLevelDebug(t *testing.T) {
for i := 0; i < 6; i++ {
verifyLogLevel(t, i)
}
}
-func TestUpdateAllLoggers (t *testing.T) {
+func TestUpdateAllLoggers(t *testing.T) {
err := log.UpdateAllLoggers(log.Fields{"update": "update"})
assert.Nil(t, err)
}
-func TestUpdateLoggers (t *testing.T) {
+func TestUpdateLoggers(t *testing.T) {
testLogger, err := log.UpdateLogger(log.Fields{"update": "update"})
assert.Nil(t, err)
assert.NotNil(t, testLogger)
@@ -76,4 +75,4 @@
thisLogger, _ := log.AddPackage(log.JSON, log.ErrorLevel, nil)
grpcLogger = thisLogger
assert.NotNil(t, grpcLogger)
-}
\ No newline at end of file
+}