(t *testing.T)
| 14 | } |
| 15 | |
| 16 | func TestShowRequiresArguments(t *testing.T) { |
| 17 | _, err := pkgstats(t, []string{"show"}) |
| 18 | if err == nil { |
| 19 | t.Fatal("Expected error when no arguments provided") |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | func TestShowRejectsInvalidPackageName(t *testing.T) { |
| 24 | _, err := pkgstats(t, []string{"show", "ö"}) |
nothing calls this directly
no test coverage detected