(t *testing.T)
| 7 | ) |
| 8 | |
| 9 | func TestStringWidth(t *testing.T) { |
| 10 | bytes := []byte("\tPot să \tmănânc sticlă și ea nu mă rănește.") |
| 11 | |
| 12 | n := StringWidth(bytes, 23, 4) |
| 13 | assert.Equal(t, 26, n) |
| 14 | } |
| 15 | |
| 16 | func TestSliceVisualEnd(t *testing.T) { |
| 17 | s := []byte("\thello") |
nothing calls this directly
no test coverage detected