Files
show-rss/main_test.go
Bel LaPointe f7e82ff588 stub
2025-04-24 19:56:54 -06:00

19 lines
275 B
Go

package main_test
import (
"context"
"os/signal"
"show-rss/src/cmd"
"syscall"
"testing"
)
func TestCmdMain(t *testing.T) {
ctx, can := signal.NotifyContext(context.Background(), syscall.SIGINT)
defer can()
if err := cmd.Main(ctx); err != nil {
t.Fatal(err)
}
}