authorgravatar for sahnvour@pm.meSahnvour <sahnvour@pm.me> 2019-05-25 13:43:52+02:00
committergravatar for sahnvour@pm.meSahnvour <sahnvour@pm.me> 2019-05-25 13:43:52+02:00
logc89b5222337d6adc14c83b8fa20a139196c4a38b
treef15ba38b58ae8885af13befb50586f43b29d28a7
parentb660134a18a308a3a4378c98b78b84595da34e7e

test: slightly better output for failure of tests based on text comparison


1 files changed, 3 insertions(+), 3 deletions(-)

test/tests.zig+3-3
......@@ -343,7 +343,7 @@ pub const CompareOutputContext = struct {
343343 \\
344344 \\========= Expected this output: =========
345345 \\{}
346 \\================================================
346 \\========= But found: ====================
347347 \\{}
348348 \\
349349 , self.expected_output, stdout.toSliceConst());
......@@ -1038,7 +1038,7 @@ pub const TranslateCContext = struct {
10381038 \\
10391039 \\========= Expected this output: ================
10401040 \\{}
1041 \\================================================
1041 \\========= But found: ===========================
10421042 \\{}
10431043 \\
10441044 , expected_line, stdout);
......@@ -1213,7 +1213,7 @@ pub const GenHContext = struct {
12131213 \\
12141214 \\========= Expected this output: ================
12151215 \\{}
1216 \\================================================
1216 \\========= But found: ===========================
12171217 \\{}
12181218 \\
12191219 , expected_line, actual_h);