From 1f2f54138c1c2b0b8993b9d809dbda57fd70ecf2 Mon Sep 17 00:00:00 2001 From: Glen Baker Date: Sun, 24 Jun 2018 10:54:15 -0700 Subject: [PATCH] add comment --- history_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/history_test.go b/history_test.go index 44f6190..6a4e61e 100644 --- a/history_test.go +++ b/history_test.go @@ -85,6 +85,8 @@ func TestHistoryGet(t *testing.T) { 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) if !reflect.DeepEqual(expectedGet3, returnGet) { t.Errorf("History.Get(5) returned %s, expected %s", returnGet, expectedGet3)