git/githistory/log: update Durable() test in ListTask test
This commit is contained in:
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")
|
task := NewListTask("example")
|
||||||
|
|
||||||
durable := task.Durable()
|
throttled := task.Throttled()
|
||||||
|
|
||||||
assert.True(t, durable,
|
assert.False(t, throttled,
|
||||||
"git/githistory/log: expected *ListTask to be Durable()")
|
"git/githistory/log: expected *ListTask to be Throttle()-d")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user