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:
1 parent
ca2533d4df
commit
358f844073
7 files changed
-19
No files matched your search
@@ -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