mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Fix merge
This commit is contained in:
@@ -28,7 +28,7 @@ func assertExpectedError (returnedError error, t *testing.T) {
|
||||
|
||||
func assertNoError (returnedError error, t *testing.T) {
|
||||
if nil != returnedError {
|
||||
t.Errorf("Expected err %s but got %s", nil, returnedError)
|
||||
t.Errorf("Expected no error got %s", returnedError)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -96,5 +96,5 @@ func (l *Limiter) Read(data []byte) (n int, err error) {
|
||||
}
|
||||
|
||||
func (l *Limiter) String() string {
|
||||
return fmt.Sprintf("Limiting %s to: %d (isPercent: %b)", l.plugin, l.limit, l.isPercent)
|
||||
return fmt.Sprintf("Limiting %s to: %d (isPercent: %v)", l.plugin, l.limit, l.isPercent)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user