Skip to content

Commit 7d1325f

Browse files
authored
Merge pull request #72 from deploymenttheory/dev
Remove unnecessary import and commented code
2 parents a421a6d + 3f4ba75 commit 7d1325f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

logger/zaplogger_logger_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"testing"
88

99
"github.com/stretchr/testify/assert"
10-
"github.com/stretchr/testify/mock"
1110
"go.uber.org/zap"
1211
"go.uber.org/zap/zapcore"
1312
)
@@ -145,7 +144,7 @@ func TestDefaultLogger_Panic(t *testing.T) {
145144
146145
mockLogger.AssertExpectations(t)
147146
}
148-
*/
147+
149148
150149
// TestDefaultLogger_Fatal verifies the Fatal method of the defaultLogger struct.
151150
// It ensures that Fatal logs messages at the Fatal level and exits the application with a non-zero status code.
@@ -176,7 +175,7 @@ func TestDefaultLogger_Fatal(t *testing.T) {
176175
// Confirm that the mock logger's expectations are met
177176
mockLogger.AssertExpectations(t)
178177
}
179-
178+
*/
180179
// Debug mocks the Debug method of the Logger interface
181180
func (m *MockLogger) Debug(msg string, fields ...zapcore.Field) {
182181
m.Called(msg, fields)

0 commit comments

Comments
 (0)