Function expectExitCode [src]
Prototype
pub fn expectExitCode(run: *Run, code: u8) void Parameters
run: *Runcode: u8 Source
pub fn expectExitCode(run: *Run, code: u8) void {
const new_check: StdIo.Check = .{ .expect_term = .{ .Exited = code } };
run.addCheck(new_check);
}