diff options
Diffstat (limited to 'src/ninep/testing.zig')
| -rw-r--r-- | src/ninep/testing.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ninep/testing.zig b/src/ninep/testing.zig index 14aeffea..a9f6d5de 100644 --- a/src/ninep/testing.zig +++ b/src/ninep/testing.zig @@ -114,6 +114,7 @@ pub fn withFile(gpa: std.mem.Allocator, text: []const u8) !*Pardes { } pub fn withTerm(gpa: std.mem.Allocator) !*Pardes { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell const p = try Pardes.init(gpa, .{ .tty_only = true, .cols = 80, .rows = 24 }); errdefer p.deinit(); while (p.nextEffect()) |_| {} |
