Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshtin committed Jun 1, 2023
1 parent 00db241 commit b3360ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integrationbase.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,13 +394,13 @@ func (s *IntegrationBase) sanitizeHistory(expectedHistory string) string {
continue
}
if st == stateNewLine {
ret.WriteRune('\n')
_, _ = ret.WriteRune('\n')
}
if spaceCounter > 0 {
ret.WriteString(strings.Repeat(" ", spaceCounter))
_, _ = ret.WriteString(strings.Repeat(" ", spaceCounter))
spaceCounter = 0
}
ret.WriteRune(r)
_, _ = ret.WriteRune(r)
st = stateNormal
}
}
Expand Down

0 comments on commit b3360ef

Please sign in to comment.