add comment
This commit is contained in:
parent
348926c2d2
commit
1f2f54138c
@ -85,6 +85,8 @@ func TestHistoryGet(t *testing.T) {
|
|||||||
t.Errorf("History.Get(3) returned %s, expected %s", returnGet, expectedGet3)
|
t.Errorf("History.Get(3) returned %s, expected %s", returnGet, expectedGet3)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// make sure requesting more lines than
|
||||||
|
// there are history entries does not fail
|
||||||
returnGet = h.Get(5)
|
returnGet = h.Get(5)
|
||||||
if !reflect.DeepEqual(expectedGet3, returnGet) {
|
if !reflect.DeepEqual(expectedGet3, returnGet) {
|
||||||
t.Errorf("History.Get(5) returned %s, expected %s", returnGet, expectedGet3)
|
t.Errorf("History.Get(5) returned %s, expected %s", returnGet, expectedGet3)
|
||||||
|
Loading…
Reference in New Issue
Block a user