feat: comment cleanup
This commit is contained in:
1 parent
6b14a95434
commit
648c55415b
112 files changed
+655
-2161
No files matched your search
@@ -75,8 +75,8 @@ func TestStatsEnabledAccumulates(t *testing.T) {
|
||||
s.AddTx(100)
|
||||
s.AddTx(50)
|
||||
s.AddRx(7)
|
||||
s.AddTx(-5) // negative: ignored
|
||||
s.AddRx(0) // zero: ignored
|
||||
s.AddTx(-5)
|
||||
s.AddRx(0)
|
||||
if got := s.tx.Load(); got != 150 {
|
||||
t.Errorf("tx=%d, want 150", got)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user