oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1//go:build !linux
2
3package render
4
5import (
6 "context"
7 "errors"
8 "testing"
9
10 "amadan.net/oficina/equipo/internal/release"
11 "amadan.net/oficina/equipo/internal/wire"
12)
13
14// Off Linux there is no renderer: Launch says it is missing.
15func TestLaunchOffLinuxIsMissing(t *testing.T) {
16 _, err := Launch(context.Background(), LaunchConfig{})
17 var re *release.RendererError
18 if !errors.As(err, &re) || re.Health != wire.ToolMissing {
19 t.Fatalf("Launch: %v", err)
20 }
21}
22