Files
atomic-swap/cmd/swapd/signal_handler_test.go

16 lines
279 B
Go

// Copyright 2023 Athanor Labs (ON)
// SPDX-License-Identifier: LGPL-3.0-only
package main
import (
"context"
"testing"
)
func TestDaemon_signalHandler(_ *testing.T) {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
go signalHandler(ctx, cancel)
}