diff --git a/build.zig b/build.zig index 1cfa098..4a67266 100644 --- a/build.zig +++ b/build.zig @@ -683,7 +683,7 @@ const ZiglingStep = struct { } // validate the output - if (std.mem.indexOf(u8, output, self.exercise.output) == null) { + if (std.mem.indexOf(u8, output, self.exercise.output) == null or output.len != self.exercise.output.len) { print( \\ \\{s}----------- Expected this output -----------{s}