Remove unnecessary comments from codebase
Clean up obvious and redundant comments that don't add value: - Remove step-by-step comments in command handlers - Remove obvious test setup comments - Keep only meaningful comments that explain why, not what
This commit is contained in:
@@ -32,7 +32,6 @@ func TestNewUser(t *testing.T) {
|
||||
t.Error("UpdatedAt should not be zero")
|
||||
}
|
||||
|
||||
// CreatedAt and UpdatedAt should be very close in time
|
||||
diff := user.UpdatedAt.Sub(user.CreatedAt)
|
||||
if diff < 0 || diff > time.Second {
|
||||
t.Errorf("CreatedAt and UpdatedAt should be nearly identical, diff: %v", diff)
|
||||
|
||||
Reference in New Issue
Block a user