TestingLinked reports whether the "testing" package is linked into the binary.
()
| 45 | |
| 46 | // TestingLinked reports whether the "testing" package is linked into the binary. |
| 47 | func TestingLinked() bool { |
| 48 | return flag.CommandLine.Lookup("test.v") != nil |
| 49 | } |
| 50 | |
| 51 | // djpegFunc implements DjpegStatus. nil means the images/fastjpeg package |
| 52 | // isn't linked in. |
no test coverage detected