| ... | ... | @@ -16,9 +16,7 @@ pub fn build(b: *Builder) void { |
| 16 | 16 | check.checkInSymtab(); |
| 17 | 17 | check.checkNext("{*} (__TEXT,__text) external _iAmUnused"); |
| 18 | 18 | |
| 19 | | test_step.dependOn(&check.step); |
| 20 | | |
| 21 | | const run_cmd = exe.run(); |
| 19 | const run_cmd = check.runAndCompare(); |
| 22 | 20 | run_cmd.expectStdOutEqual("Hello!\n"); |
| 23 | 21 | test_step.dependOn(&run_cmd.step); |
| 24 | 22 | } |
| ... | ... | @@ -32,9 +30,7 @@ pub fn build(b: *Builder) void { |
| 32 | 30 | check.checkInSymtab(); |
| 33 | 31 | check.checkNotPresent("{*} (__TEXT,__text) external _iAmUnused"); |
| 34 | 32 | |
| 35 | | test_step.dependOn(&check.step); |
| 36 | | |
| 37 | | const run_cmd = exe.run(); |
| 33 | const run_cmd = check.runAndCompare(); |
| 38 | 34 | run_cmd.expectStdOutEqual("Hello!\n"); |
| 39 | 35 | test_step.dependOn(&run_cmd.step); |
| 40 | 36 | } |