oficina / equipo Public

chat: budget TestMain for the package's new tests

The budget runner needs every tested package to print its time.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev cceab550ec7bb14d30629f7b00f15c063cd05ad3 parent d79fe6f
1 file changed, +10 −0
  • internal/equipo/chat/budget_test.go +10 −0

CI passed — run details

diff --git a/internal/equipo/chat/budget_test.go b/internal/equipo/chat/budget_test.go
new file mode 100644
index 00000000..17bff94a
--- /dev/null
+++ b/internal/equipo/chat/budget_test.go
@@ -0,0 +1,10 @@
+package chat
+
+import (
+ "os"
+ "testing"
+
+ "amadan.net/rastrillo/rastrillo/budget"
+)
+
+func TestMain(m *testing.M) { os.Exit(budget.Main(m)) }