changed the patch files that we can also use them with busybox for testing in Woodpecker

This commit is contained in:
Chris Boesch
2023-10-05 20:18:04 +02:00
parent 992323ac6c
commit 7491e3df91
109 changed files with 1606 additions and 770 deletions
+18 -12
View File
@@ -1,12 +1,18 @@
23,24c23,24
< const 55_cows: i32 = 55;
< const isn't true: bool = false;
---
> const @"55_cows": i32 = 55;
> const @"isn't true": bool = false;
27,28c27,28
< 55_cows,
< isn't true,
---
> @"55_cows",
> @"isn't true",
--- exercises/079_quoted_identifiers.zig 2023-10-03 22:15:22.125574535 +0200
+++ answers/079_quoted_identifiers.zig 2023-10-05 20:04:07.199436232 +0200
@@ -20,11 +20,11 @@
const print = @import("std").debug.print;
pub fn main() void {
- const 55_cows: i32 = 55;
- const isn't true: bool = false;
+ const @"55_cows": i32 = 55;
+ const @"isn't true": bool = false;
print("Sweet freedom: {}, {}.\n", .{
- 55_cows,
- isn't true,
+ @"55_cows",
+ @"isn't true",
});
}