Files
MuyueWorkspace/internal/version/version_test.go
Augustin fc7981037f
All checks were successful
Beta Release / beta (push) Successful in 34s
chore: remove dead code (packages, functions, types, constants)
Remove 5 unused packages (daemon, preview, proxy, workflow) and dead
symbols across 7 files: orchestrator workflow engine, skills Target type
and Update(), LSP config generation, installer SetupPrompt(), unexported
desktop options, and version License/Prerelease. Total: -1453 lines.
2026-04-21 22:09:42 +02:00

29 lines
541 B
Go

package version
import (
"strings"
"testing"
)
func TestFullVersion(t *testing.T) {
v := FullVersion()
if !strings.HasPrefix(v, Name) {
t.Errorf("FullVersion should start with %s, got %s", Name, v)
}
if !strings.Contains(v, "v"+Version) {
t.Errorf("FullVersion should contain v%s, got %s", Version, v)
}
}
func TestConstants(t *testing.T) {
if Name == "" {
t.Error("Name should not be empty")
}
if Version == "" {
t.Error("Version should not be empty")
}
if Author == "" {
t.Error("Author should not be empty")
}
}