From c89b5222337d6adc14c83b8fa20a139196c4a38b Mon Sep 17 00:00:00 2001 From: Sahnvour Date: Sat, 25 May 2019 13:43:52 +0200 Subject: [PATCH] test: slightly better output for failure of tests based on text comparison --- test/tests.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/tests.zig b/test/tests.zig index a17938fc3c..9218971074 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -343,7 +343,7 @@ pub const CompareOutputContext = struct { \\ \\========= Expected this output: ========= \\{} - \\================================================ + \\========= But found: ==================== \\{} \\ , self.expected_output, stdout.toSliceConst()); @@ -1038,7 +1038,7 @@ pub const TranslateCContext = struct { \\ \\========= Expected this output: ================ \\{} - \\================================================ + \\========= But found: =========================== \\{} \\ , expected_line, stdout); @@ -1213,7 +1213,7 @@ pub const GenHContext = struct { \\ \\========= Expected this output: ================ \\{} - \\================================================ + \\========= But found: =========================== \\{} \\ , expected_line, actual_h);