| 1 |
From: Mathias Gibbens <[email protected]> |
| 2 |
Description: Adjust reported value from mattn-go-runewidth, since the version in Debian is older than this library expects. |
| 3 |
Forwarded: not-needed |
| 4 |
diff --git a/comparison/behavior_test.go b/comparison/behavior_test.go |
| 5 |
index c9d801b..947d7a0 100644 |
| 6 |
--- a/comparison/behavior_test.go |
| 7 |
+++ b/comparison/behavior_test.go |
| 8 |
@@ -72,7 +72,7 @@ func TestLibraryBehaviorComparison(t *testing.T) { |
| 9 |
expected: map[string]int{ |
| 10 |
"displaywidth_default": 14, // 2 per emoji (properly handles Unicode 16.0) |
| 11 |
"displaywidth_options{}": 14, |
| 12 |
|
| 13 |
+ "go-runewidth_default": 14, // go-runewidth may not fully support Unicode 16.0 yet (treats as width 1) |
| 14 |
"uniseg_default": 7, // uniseg may not fully support Unicode 16.0 yet (treats as width 1) |
| 15 |
}, |
| 16 |
}, |