(t *testing.T)
| 21 | } |
| 22 | |
| 23 | func TestShowRejectsInvalidPackageName(t *testing.T) { |
| 24 | _, err := pkgstats(t, []string{"show", "ö"}) |
| 25 | if err == nil { |
| 26 | t.Fatal("Expected error for invalid package name") |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | func TestShowSinglePackage(t *testing.T) { |
| 31 | output, err := pkgstats(t, []string{"show", "php"}) |
nothing calls this directly
no test coverage detected