Skip to content

Commit

Permalink
Merge branch 'devel' into release-0-16-0
Browse files Browse the repository at this point in the history
  • Loading branch information
mum4k committed Apr 3, 2021
2 parents fd93d4a + 09d8a5b commit 0e8e5b8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions widgets/text/text_test.go
Expand Up @@ -54,6 +54,17 @@ func TestTextDraws(t *testing.T) {
},
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",
opts: []Option{
Expand Down

0 comments on commit 0e8e5b8

Please sign in to comment.