package executil import ( "testing" "zlh-agent/scripts" ) func TestNormalizeEmbeddedPath(t *testing.T) { paths := []string{ "devcontainer/node/install.sh", "scripts/devcontainer/node/install.sh", } for _, path := range paths { normalized := normalizeEmbeddedPath(path) if _, err := scripts.FS.ReadFile(normalized); err != nil { t.Fatalf("expected embedded script to resolve for %q (normalized to %q): %v", path, normalized, err) } } }