MCPcopy Create free account
hub / github.com/archlinux-de/pkgstats-cli / TestShowRequiresArguments

Function TestShowRequiresArguments

cmd/show_test.go:16–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

14}
15
16func 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
23func TestShowRejectsInvalidPackageName(t *testing.T) {
24 _, err := pkgstats(t, []string{"show", "ö"})

Callers

nothing calls this directly

Calls 1

pkgstatsFunction · 0.85

Tested by

no test coverage detected