diff options
Diffstat (limited to 'src/echo.zig')
| -rw-r--r-- | src/echo.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/echo.zig b/src/echo.zig index cf7e9ef8..6a18f5dd 100644 --- a/src/echo.zig +++ b/src/echo.zig @@ -651,6 +651,7 @@ const Rig = struct { const prompt = "\x1b]133;A;cl=line;aid=pardes\x07$ \x1b]133;B;aid=pardes\x07"; test "keys typed at a shell's prompt are drawn at once, and the authority's echo takes their place" { + if (pardes.Term.ops == null) return error.SkipZigTest; // it reads the emulator var g: Rig = undefined; try g.init(); defer g.deinit(); @@ -698,6 +699,7 @@ test "keys typed at a shell's prompt are drawn at once, and the authority's echo } test "a password prompt shows nothing typed, and a full-screen program is not predicted" { + if (pardes.Term.ops == null) return error.SkipZigTest; // it reads the emulator var g: Rig = undefined; try g.init(); defer g.deinit(); @@ -729,6 +731,7 @@ test "a password prompt shows nothing typed, and a full-screen program is not pr } test "keys still on their way when their predictions go: the next waits for their echo, never predicted where it is about to land" { + if (pardes.Term.ops == null) return error.SkipZigTest; // it reads the emulator var g: Rig = undefined; try g.init(); defer g.deinit(); @@ -766,6 +769,7 @@ test "keys still on their way when their predictions go: the next waits for thei } test "a misprediction takes every prediction back and shows none until an echo is confirmed; after Tab nothing is predicted until its echo" { + if (pardes.Term.ops == null) return error.SkipZigTest; // it reads the emulator var g: Rig = undefined; try g.init(); defer g.deinit(); |
