summaryrefslogtreecommitdiff
path: root/test/behaviour
diff options
context:
space:
mode:
Diffstat (limited to 'test/behaviour')
-rw-r--r--test/behaviour/root_ctl.zig2
-rw-r--r--test/behaviour/settings.zig2
2 files changed, 1 insertions, 3 deletions
diff --git a/test/behaviour/root_ctl.zig b/test/behaviour/root_ctl.zig
index 7bf15ee2..b9909eef 100644
--- a/test/behaviour/root_ctl.zig
+++ b/test/behaviour/root_ctl.zig
@@ -63,7 +63,7 @@ test "root-ctl: the root ctl reads the settings as a write takes them, and takes
.{ "Nonsense 1", "unknown control message \"Nonsense\"" },
.{ "Verbose maybe", "bad value in control message; takes on, off \"maybe\"" },
// A number's refusal names its range.
- .{ "InactiveDim 200", "bad value in control message; takes 0-100 (a percentage) \"200\"" },
+ .{ "SearchRows 200", "bad value in control message; takes 1-100 (rows) \"200\"" },
.{ "MessageLinger x", "bad value in control message; takes 0-60000 (milliseconds) \"x\"" },
.{ "Newcol 2", "wrong #args in control message \"Newcol\"" },
.{ "Theme", "wrong #args in control message \"Theme\"" },
diff --git a/test/behaviour/settings.zig b/test/behaviour/settings.zig
index 76b60da4..5ad4b7eb 100644
--- a/test/behaviour/settings.zig
+++ b/test/behaviour/settings.zig
@@ -93,8 +93,6 @@ test "settings: a setting this frontend cannot show says GUI-only, never run as
var s = try Session.initFile(std.testing.allocator, "x\n");
defer s.deinit();
if (comptime @import("pardes_config").platform != .gui) {
- _ = try s.refused("/ctl", "Lift on\n");
- try std.testing.expectEqualStrings("Lift is GUI-only, invalid here \"Lift\"", s.said);
_ = try s.refused("/ctl", "GripWidth 120\n");
try std.testing.expectEqualStrings("GripWidth is GUI-only, invalid here \"GripWidth\"", s.said);
// A builtin the GUI alone has, written to a ctl or an exec, never