From 473c9633073ca74d9266f7050bbe424bebd1280f Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 15 Sep 2026 13:46:36 +0200 Subject: docs: give the plan's test files the GPLv2 header The test snippets omitted the header the global constraints require on every .go file, which a task review flagged against the first one shipped. The snippets now carry it, so later tasks do not repeat the gap. --- docs/superpowers/plans/2026-09-15-notifyd.md | 44 ++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'docs/superpowers/plans/2026-09-15-notifyd.md') diff --git a/docs/superpowers/plans/2026-09-15-notifyd.md b/docs/superpowers/plans/2026-09-15-notifyd.md index 3b3e491..fdc3967 100644 --- a/docs/superpowers/plans/2026-09-15-notifyd.md +++ b/docs/superpowers/plans/2026-09-15-notifyd.md @@ -92,6 +92,17 @@ Expected: `GNU GENERAL PUBLIC LICENSE` and `Version 2, June 1991`. Create `internal/notify/policy_test.go`: ```go +// Copyright (C) 2026 Danilo M. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + package notify import ( @@ -350,6 +361,17 @@ spellings, and the action pair parse." Create `internal/notify/store_test.go`: ```go +// Copyright (C) 2026 Danilo M. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + package notify import "testing" @@ -739,6 +761,17 @@ in history. Replacing reuses the id and emits nothing." Create `internal/notify/files_test.go`: ```go +// Copyright (C) 2026 Danilo M. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + package notify import ( @@ -901,6 +934,17 @@ null, because the renderer parses it as an array." Create `internal/notify/service_test.go`: ```go +// Copyright (C) 2026 Danilo M. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + package notify import ( -- cgit v1.2.3