Files
atomic-swap/cliutil/signal_handler_test.go
2023-06-19 14:47:27 -05:00

18 lines
362 B
Go

// Copyright 2023 The AthanorLabs/atomic-swap Authors
// SPDX-License-Identifier: LGPL-3.0-only
package cliutil
import (
"context"
"testing"
logging "github.com/ipfs/go-log/v2"
)
func TestDaemon_signalHandler(_ *testing.T) {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
go SignalHandler(ctx, cancel, logging.Logger("test"))
}