mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
test: slightly better output for failure of tests based on text comparison
This commit is contained in:
parent
b660134a18
commit
c89b522233
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user