mirror of
https://github.com/walles/moar.git
synced 2024-09-11 12:15:43 +03:00
Pass another mutation test
This commit is contained in:
parent
8478883821
commit
99de54c510
@ -73,6 +73,14 @@ func TestRenderLine(t *testing.T) {
|
||||
strings.ReplaceAll(reset+reversed+"<"+dim+notReversed+"f"+reset+clearToEol, "", "ESC"))
|
||||
}
|
||||
|
||||
func TestRenderLineEmpty(t *testing.T) {
|
||||
row := []Cell{}
|
||||
|
||||
rendered, count := renderLine(row)
|
||||
assert.Equal(t, count, 0)
|
||||
assert.Equal(t, rendered, "")
|
||||
}
|
||||
|
||||
func TestRenderLineLastReversed(t *testing.T) {
|
||||
row := []Cell{
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user