diff options
Diffstat (limited to 'internal/debug/signals_test.go')
| -rw-r--r-- | internal/debug/signals_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/debug/signals_test.go b/internal/debug/signals_test.go index d7b0d2d..641e638 100644 --- a/internal/debug/signals_test.go +++ b/internal/debug/signals_test.go @@ -1,4 +1,5 @@ -// +build !windows +//go:build debugsignals && !windows +// +build debugsignals,!windows package debug @@ -55,7 +56,7 @@ func TestDumpGoroutines(t *testing.T) { func TestWriteProfile(t *testing.T) { tmpDir := t.TempDir() - + // Test goroutine profile (text format) goroutineFile := filepath.Join(tmpDir, "test-goroutine.txt") if err := writeProfile(goroutineFile, "goroutine", 1); err != nil { |
