fix: remove unused nolint directives on rune literals
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7dec2f8dc8
commit
d830624d59
1 changed files with 3 additions and 3 deletions
|
|
@ -9,9 +9,9 @@ import (
|
|||
func TestRuneWidth(t *testing.T) {
|
||||
assert.Equal(t, 1, runeWidth('a'))
|
||||
assert.Equal(t, 1, runeWidth('1'))
|
||||
assert.Equal(t, 2, runeWidth('名')) //nolint:gosmopolitan
|
||||
assert.Equal(t, 2, runeWidth('ア')) //nolint:gosmopolitan
|
||||
assert.Equal(t, 2, runeWidth('あ')) //nolint:gosmopolitan
|
||||
assert.Equal(t, 2, runeWidth('名'))
|
||||
assert.Equal(t, 2, runeWidth('ア'))
|
||||
assert.Equal(t, 2, runeWidth('あ'))
|
||||
}
|
||||
|
||||
func TestStringWidth(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue