Skip to content

Commit

Permalink
sensible size
Browse files Browse the repository at this point in the history
  • Loading branch information
matryer committed Mar 8, 2021
1 parent 2c5dc59 commit 9357d63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/plugins/items_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ three
is.NoErr(err)
is.Equal(len(items.CycleItems), 1)
is.Equal(len(items.ExpandedItems), 5)
is.Equal(items.ExpandedItems[1].Params.Size, 1) // items.ExpandedItems[1].Params.Size
is.Equal(items.ExpandedItems[1].Params.Size, 5) // items.ExpandedItems[1].Params.Size
}

func TestErrors(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugins/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (p *Plugin) parseOutput(ctx context.Context, filename string, r io.Reader)
Text: " ",
Params: params,
}
blankLineItem.Params.Size = 1
blankLineItem.Params.Size = 5
items.ExpandedItems = append(items.ExpandedItems, blankLineItem)
continue
}
Expand Down

0 comments on commit 9357d63

Please sign in to comment.