Просмотр исходного кода

Emit correct output as green text indicating passed.

Dave Gauer 4 лет назад
Родитель
Сommit
a7e101cd05
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      build.zig

+ 1 - 1
build.zig

@@ -463,7 +463,7 @@ const ZiglingStep = struct {
             return error.InvalidOutput;
         }
 
-        print("{s}** PASSED **{s}\n", .{ green_text, reset_text });
+        print("{s}{s}{s}\n", .{ green_text, output, reset_text });
     }
 
     // The normal compile step calls os.exit, so we can't use it as a library :(