diff --git a/doc/docgen.zig b/doc/docgen.zig index 7aaf5ebdc7bd1d2ef594783cef2632e522e9f1c6..1bd0805bb9f4bf614a4e20dcbc7563ddd13c43ef 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 e3ba0e3956aa001cbaa3235c2fb54a9598f5bad9..2cd35c2f4ef3fe518e7777b8f4a6d3ec1c28ed46 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 {