| ... | ... | @@ -1251,7 +1251,7 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: any |
| 1251 | 1251 | }, |
| 1252 | 1252 | } |
| 1253 | 1253 | if (mem.indexOf(u8, result.stderr, error_match) == null) { |
| 1254 | | print("{}\nExpected to find '{}' in stderr", .{ result.stderr, error_match }); |
| 1254 | print("{}\nExpected to find '{}' in stderr\n", .{ result.stderr, error_match }); |
| 1255 | 1255 | return parseError(tokenizer, code.source_token, "example did not have expected compile error", .{}); |
| 1256 | 1256 | } |
| 1257 | 1257 | const escaped_stderr = try escapeHtml(allocator, result.stderr); |
| ... | ... | @@ -1306,7 +1306,7 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: any |
| 1306 | 1306 | }, |
| 1307 | 1307 | } |
| 1308 | 1308 | if (mem.indexOf(u8, result.stderr, error_match) == null) { |
| 1309 | | print("{}\nExpected to find '{}' in stderr", .{ result.stderr, error_match }); |
| 1309 | print("{}\nExpected to find '{}' in stderr\n", .{ result.stderr, error_match }); |
| 1310 | 1310 | return parseError(tokenizer, code.source_token, "example did not have expected runtime safety error message", .{}); |
| 1311 | 1311 | } |
| 1312 | 1312 | const escaped_stderr = try escapeHtml(allocator, result.stderr); |
| ... | ... | @@ -1385,7 +1385,7 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: any |
| 1385 | 1385 | }, |
| 1386 | 1386 | } |
| 1387 | 1387 | if (mem.indexOf(u8, result.stderr, error_match) == null) { |
| 1388 | | print("{}\nExpected to find '{}' in stderr", .{ result.stderr, error_match }); |
| 1388 | print("{}\nExpected to find '{}' in stderr\n", .{ result.stderr, error_match }); |
| 1389 | 1389 | return parseError(tokenizer, code.source_token, "example did not have expected compile error message", .{}); |
| 1390 | 1390 | } |
| 1391 | 1391 | const escaped_stderr = try escapeHtml(allocator, result.stderr); |