Files
aego/app/docstool/lighting_test.go
sanspie 5eb1832907
ci-platforms / darwin amd64 smoke (push) Skipped
ci / build (amd64, linux, ubuntu-24.04) (push) Failing after 15m28s
ci / release (push) Skipped
ci-platforms / windows amd64 smoke (push) Skipped
ci-platforms / darwin arm64 smoke (push) Skipped
ci / checks (push) Successful in 7m47s
Complete Stage 12 for v0.12.0
2026-11-05 11:46:53 +03:00

22 lines
416 B
Go

package docstool
import (
"bytes"
"testing"
)
func TestPreparedLightingTryAndRealDiagnosticExamples(t *testing.T) {
reg, err := Registry(nil, nil)
if err != nil {
t.Fatal(err)
}
var out bytes.Buffer
if bad := CheckExamples(reg, &out); bad != 0 {
t.Fatalf("diagnostic examples: %s", out.String())
}
out.Reset()
if bad := CheckTry(reg, &out); bad != 0 {
t.Fatalf("Try scenes: %s", out.String())
}
}