Projects STRLCPY termdash Commits 0e8e5b82
🤬
  • ■ ■ ■ ■ ■ ■
    widgets/text/text_test.go
    skipped 54 lines
    55 55   wantErr: true,
    56 56   },
    57 57   {
     58 + desc: "fails when MaxTextCells is negative",
     59 + opts: []Option{
     60 + MaxTextCells(-1),
     61 + },
     62 + canvas: image.Rect(0, 0, 1, 1),
     63 + want: func(size image.Point) *faketerm.Terminal {
     64 + return faketerm.MustNew(size)
     65 + },
     66 + wantErr: true,
     67 + },
     68 + {
    58 69   desc: "fails when scroll mouse buttons aren't unique",
    59 70   opts: []Option{
    60 71   ScrollMouseButtons(mouse.ButtonLeft, mouse.ButtonLeft),
    skipped 1093 lines
Please wait...
Page is in error, reload to recover