update commented out test

pull/8757/head
Jacob Sandlund 2025-09-18 14:24:24 -04:00
parent 83f387d735
commit 6bd5da7354
1 changed files with 4 additions and 1 deletions

View File

@ -32,7 +32,10 @@ test "codepointWidth basic" {
// const max = std.math.maxInt(u21) + 1;
// for (min..max) |cp| {
// const simd = codepointWidth(@intCast(cp));
// const uu = @min(2, @max(0, uucode.get(.wcwidth, @intCast(cp))));
// const uu = if (cp > uucode.config.max_code_point)
// 1
// else
// uucode.getX(.width, @intCast(cp));
// if (simd != uu) mismatch: {
// if (cp == 0x2E3B) {
// try testing.expectEqual(@as(i8, 2), simd);