Reset master to testing content

This commit is contained in:
Storm Dragon committed 2026-10-25 01:57:54 -04:00
1 parent 0f2587b719
commit 42afa2a56c
1483 files changed
+145308 -938069

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
//go:build !brlapi || !cgo
package braille
import (
"bytes"
"context"
"errors"
"testing"
)
func TestDiagnosticUnavailable(t *testing.T) {
var output bytes.Buffer
err := Diagnostic(context.Background(), New(), &output)
if !errors.Is(err, ErrUnavailable) {
t.Fatalf("error: %v", err)
}
if output.Len() != 0 {
t.Fatal("unavailable backend reported connected")
}
}