#2 Flatten priority (load levels): run only one job at a time #3
@@ -432,6 +432,8 @@ test "per-command help" {
|
||||
const r = try runCaptured(arena.allocator(), &.{ "run", "--help" }, null);
|
||||
try std.testing.expectEqual(exit_ok, r.code);
|
||||
try std.testing.expect(std.mem.indexOf(u8, r.out, "--tag") != null);
|
||||
// issue #2 removed the load levels: the flag must not resurface in the help.
|
||||
try std.testing.expect(std.mem.indexOf(u8, r.out, "load-level") == null);
|
||||
const s = try runCaptured(arena.allocator(), &.{ "service", "--help" }, null);
|
||||
try std.testing.expect(std.mem.indexOf(u8, s.out, "restart") != null);
|
||||
}
|
||||
Reference in new issue
Block a user