ratatoskr-go: стартовый каркас (Go-бинарь, CI, structure)
All checks were successful
build-test / build (push) Successful in 47s

This commit is contained in:
Hermes
2026-08-14 08:53:57 +05:00
commit 53cf901707
7 changed files with 171 additions and 0 deletions

15
internal/app/app_test.go Normal file
View File

@@ -0,0 +1,15 @@
package app
import "testing"
// Контракт: process_turn (после внедрения) должен возвращать 3 значения.
// Здесь — placeholder-проверка, что composition root собирается без сбоев.
func TestNew(t *testing.T) {
a, err := New("")
if err != nil {
t.Fatalf("New() err = %v", err)
}
if a.Config.IssueRepo == "" {
t.Fatal("IssueRepo пуст — каркас не инициализирован")
}
}