mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
Correct variables in "got %v expect %v" errors (#6437)
This commit is contained in:
committed by
Jim Kalafut
parent
4bcf0ec963
commit
7ffe7fd370
@@ -208,7 +208,7 @@ func TestParsingRateAndBurst(t *testing.T) {
|
|||||||
t.Errorf("Expected rate %v but found %v", expectedRate, observedRate)
|
t.Errorf("Expected rate %v but found %v", expectedRate, observedRate)
|
||||||
}
|
}
|
||||||
if expectedBurst != observedBurst {
|
if expectedBurst != observedBurst {
|
||||||
t.Errorf("Expected burst %v but found %v", expectedRate, observedRate)
|
t.Errorf("Expected burst %v but found %v", expectedBurst, observedBurst)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -225,7 +225,7 @@ func TestParsingRateOnly(t *testing.T) {
|
|||||||
t.Errorf("Expected rate %v but found %v", expectedRate, observedRate)
|
t.Errorf("Expected rate %v but found %v", expectedRate, observedRate)
|
||||||
}
|
}
|
||||||
if expectedBurst != observedBurst {
|
if expectedBurst != observedBurst {
|
||||||
t.Errorf("Expected burst %v but found %v", expectedRate, observedRate)
|
t.Errorf("Expected burst %v but found %v", expectedBurst, observedBurst)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user