MustStart starts the terminal or calls Fatalf.
(t *testing.T, term MockTerm)
| 82 | |
| 83 | // MustStart starts the terminal or calls Fatalf. |
| 84 | func MustStart(t *testing.T, term MockTerm) { |
| 85 | t.Helper() |
| 86 | err := term.Start() |
| 87 | AssertF(t, err == nil, "start failed: %v", err) |
| 88 | } |
| 89 | |
| 90 | // CheckPos is verifies the current cursor position of terminal. |
| 91 | func CheckPos(t *testing.T, term MockTerm, x Col, y Row) { |
searching dependent graphs…