Commit d6f2af378a
Changed files (2)
doc/docgen.zig
@@ -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 {
doc/langref.html.in
@@ -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 {