mirror of
https://github.com/mum4k/termdash.git
synced 2025-04-28 13:48:51 +08:00
Merge branch 'devel' into release-0-16-0
This commit is contained in:
commit
0e8e5b8226
@ -54,6 +54,17 @@ func TestTextDraws(t *testing.T) {
|
|||||||
},
|
},
|
||||||
wantErr: true,
|
wantErr: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
desc: "fails when MaxTextCells is negative",
|
||||||
|
opts: []Option{
|
||||||
|
MaxTextCells(-1),
|
||||||
|
},
|
||||||
|
canvas: image.Rect(0, 0, 1, 1),
|
||||||
|
want: func(size image.Point) *faketerm.Terminal {
|
||||||
|
return faketerm.MustNew(size)
|
||||||
|
},
|
||||||
|
wantErr: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
desc: "fails when scroll mouse buttons aren't unique",
|
desc: "fails when scroll mouse buttons aren't unique",
|
||||||
opts: []Option{
|
opts: []Option{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user