Skip to content

Commit

Permalink
follow comment style
Browse files Browse the repository at this point in the history
  • Loading branch information
tjmtmmnk committed Dec 3, 2020
1 parent 56c7830 commit a432d84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func UseMockedTerminal() *TerminalMock {
return defaultFinder.UseMockedTerminal()
}

// GetResult returns the result showed in screen
func (t *TerminalMock) GetResult() string {
var s string

Expand Down Expand Up @@ -108,7 +109,7 @@ func (f *finder) UseMockedTerminal() *TerminalMock {
return m
}

// as an escape sequence.
// parseAttr parses color and attribute for test
func parseAttr(fg, bg *tcell.Color, attr tcell.AttrMask) string {
if attr == tcell.AttrInvalid {
panic("invalid attribute")
Expand Down

0 comments on commit a432d84

Please sign in to comment.