broken by c2db077574
This commit is contained in:
Andrew Kelley 2019-02-08 19:37:59 -05:00
parent 46ddd5f5f4
commit d6f2af378a
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9
2 changed files with 2 additions and 2 deletions

View File

@ -620,7 +620,7 @@ const TermState = enum {
test "term color" {
const input_bytes = "A\x1b[32;1mgreen\x1b[0mB";
const result = try termColor(std.debug.global_allocator, input_bytes);
testing.expectEqualSlices(u8, "A<span class=\"t32\">green</span>B", result));
testing.expectEqualSlices(u8, "A<span class=\"t32\">green</span>B", result);
}
fn termColor(allocator: *mem.Allocator, input: []const u8) ![]u8 {

View File

@ -4627,7 +4627,7 @@ test "fibonacci" {
<p>
What if we fix the base case, but put the wrong value in the {#syntax#}assert{#endsyntax#} line?
</p>
{#code_begin|test_err|encountered @panic at compile-time#}
{#code_begin|test_err|unable to evaluate constant expression#}
const assert = @import("std").debug.assert;
fn fibonacci(index: i32) i32 {