diff --git a/doc/docgen.zig b/doc/docgen.zig index 7aaf5ebdc7..1bd0805bb9 100644 --- a/doc/docgen.zig +++ b/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, "AgreenB", result)); + testing.expectEqualSlices(u8, "AgreenB", result); } fn termColor(allocator: *mem.Allocator, input: []const u8) ![]u8 { diff --git a/doc/langref.html.in b/doc/langref.html.in index e3ba0e3956..2cd35c2f4e 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -4627,7 +4627,7 @@ test "fibonacci" {
What if we fix the base case, but put the wrong value in the {#syntax#}assert{#endsyntax#} line?
- {#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 {