diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-02-14 09:22:36 +0100 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-02-14 09:22:36 +0100 |
| commit | f285bd59a4080eb2d62afa414e087dfd54184a96 (patch) | |
| tree | b4085dcd8f1140487469fd454c7fb90d0f207871 | |
| parent | 7382949018a07d8770c742fda2873a1b33117910 (diff) | |
Output from #60 adapted
| -rw-r--r-- | build.zig | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -283,12 +283,11 @@ pub fn build(b: *Build) !void { starting_exercise = try std.fmt.parseInt(u32, contents, 10); } else |err| { switch (err) { - std.fs.File.OpenError.FileNotFound => { // This is fine, may be the first time tests are run or progress have been reset }, else => { - print("Unable to open {s}: {}\n", .{progress_filename, err}); + print("Unable to open {s}: {}\n", .{ progress_filename, err }); return err; }, } @@ -964,7 +963,7 @@ const exercises = [_]Exercise{ }, .{ .main_file = "060_floats.zig", - .output = "Shuttle liftoff weight: 2032092kg", + .output = "Shuttle liftoff weight: 2032kg", }, .{ .main_file = "061_coercions.zig", |
