diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-08-16 22:59:32 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-08-16 22:59:32 -0700 |
| commit | a2ac06dcd506fd5e119e4eb8e1de201fefa05bbc (patch) | |
| tree | 65fdd42a0a6f19b729dd44d2ed95abd4a6905f06 /test/run_tests.cpp | |
| parent | 37d167f6e0e26e8dc57950cb0fa1bfa630036521 (diff) | |
| download | zig-a2ac06dcd506fd5e119e4eb8e1de201fefa05bbc.tar.gz zig-a2ac06dcd506fd5e119e4eb8e1de201fefa05bbc.zip | |
std: replace print_u64/i64 with printInt
Diffstat (limited to 'test/run_tests.cpp')
| -rw-r--r-- | test/run_tests.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/run_tests.cpp b/test/run_tests.cpp index 661fbfd756..f777551151 100644 --- a/test/run_tests.cpp +++ b/test/run_tests.cpp @@ -462,20 +462,20 @@ const io = @import("std").io; pub fn main(args: [][]u8) -> %void { const array = []u8 {9, 8, 7, 6}; for (array) |item| { - %%io.stdout.print_u64(item); + %%io.stdout.printInt(@typeOf(item), item); %%io.stdout.printf("\n"); } for (array) |item, index| { - %%io.stdout.print_u64(index); + %%io.stdout.printInt(@typeOf(index), index); %%io.stdout.printf("\n"); } const unknown_size: []u8 = array; for (unknown_size) |item| { - %%io.stdout.print_u64(item); + %%io.stdout.printInt(@typeOf(item), item); %%io.stdout.printf("\n"); } for (unknown_size) |item, index| { - %%io.stdout.print_u64(index); + %%io.stdout.printInt(@typeOf(index), index); %%io.stdout.printf("\n"); } } |
