MCPcopy Index your code
hub / github.com/git-lfs/git-lfs / TestSimpleTaskIsNotThrottled

Function TestSimpleTaskIsNotThrottled

tasklog/simple_task_test.go:69–76  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

67}
68
69func TestSimpleTaskIsNotThrottled(t *testing.T) {
70 task := NewSimpleTask()
71
72 throttled := task.Throttled()
73
74 assert.False(t, throttled,
75 "tasklog: expected *SimpleTask not to be Throttle()-d")
76}

Callers

nothing calls this directly

Calls 2

ThrottledMethod · 0.95
NewSimpleTaskFunction · 0.85

Tested by

no test coverage detected