(t *testing.T)
| 158 | } |
| 159 | |
| 160 | func TestGetUptimeFuncDefault(t *testing.T) { |
| 161 | uptimeFunc := getUptimeFunc("") |
| 162 | h.Assert(t, uptimeFunc != nil, "Failed to return a function.") |
| 163 | } |
| 164 | |
| 165 | func TestGetUptimeFuncWithFile(t *testing.T) { |
| 166 | uptimeFunc := getUptimeFunc(testFile) |
nothing calls this directly
no test coverage detected