git/githistory/log: update Durable() test in ListTask test

This commit is contained in:
Taylor Blau 2017-06-19 16:27:50 -04:00
parent d69cd196ea
commit f3c8029e2a

@ -42,11 +42,11 @@ func TestListTaskWritesEntries(t *testing.T) {
}
}
func TestListTaskIsDurable(t *testing.T) {
func TestListTaskIsNotThrottled(t *testing.T) {
task := NewListTask("example")
durable := task.Durable()
throttled := task.Throttled()
assert.True(t, durable,
"git/githistory/log: expected *ListTask to be Durable()")
assert.False(t, throttled,
"git/githistory/log: expected *ListTask to be Throttle()-d")
}