MCPcopy
hub / github.com/gdamore/tcell / VerifyF

Function VerifyF

vt/tests/util.go:61–66  ·  view source on GitHub ↗

VerifyF validates the condition, printing the message on failure.

(t *testing.T, b bool, fmt string, args ...any)

Source from the content-addressed store, hash-verified

59
60// VerifyF validates the condition, printing the message on failure.
61func VerifyF(t *testing.T, b bool, fmt string, args ...any) {
62 t.Helper()
63 if !b {
64 t.Errorf("validation failure: "+fmt, args...)
65 }
66}
67
68// AssertF validates the condition, and aborts the test if it fails.
69func AssertF(t *testing.T, b bool, fmt string, args ...any) {

Callers 15

TestCursorStyleFunction · 0.85
TestScanCodesFunction · 0.85
TestBaseKeysFunction · 0.85
TestMouse1006Function · 0.85
TestMouseX10Function · 0.85
TestMouse1000Function · 0.85
TestDECSCUSRv1Function · 0.85
TestDECSCUSRv2Function · 0.85
TestDECSCUSRv3Function · 0.85
TestOSC52v1Function · 0.85
TestGetLayoutFunction · 0.85
TestDeadKeysFunction · 0.85

Calls

no outgoing calls

Tested by 15

TestCursorStyleFunction · 0.68
TestScanCodesFunction · 0.68
TestBaseKeysFunction · 0.68
TestMouse1006Function · 0.68
TestMouseX10Function · 0.68
TestMouse1000Function · 0.68
TestDECSCUSRv1Function · 0.68
TestDECSCUSRv2Function · 0.68
TestDECSCUSRv3Function · 0.68
TestOSC52v1Function · 0.68
TestGetLayoutFunction · 0.68
TestDeadKeysFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…