Skip to content

Commit

Permalink
ignore lint jscpd
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtwinkle committed Jan 23, 2024
1 parent 3a6fa2a commit e5d0dbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ func TestNewTransformer(t *testing.T) {
name := n
tt := v

//nolint:jscpd
t.Run("[transform.NewWriter]"+name, func(t *testing.T) {
var buf bytes.Buffer
w := transform.NewWriter(&buf, garbledreplacer.NewTransformer(tt.encoding, tt.replace))
Expand All @@ -118,6 +119,7 @@ func TestNewTransformer(t *testing.T) {
}
assertFunc(t, tt.want, buf, tt.encoding.NewDecoder())
})
//nolint:jscpd
t.Run("[transform.NewWriter with bufio.NewWriter]"+name, func(t *testing.T) {
var buf bytes.Buffer
w := bufio.NewWriter(transform.NewWriter(&buf, garbledreplacer.NewTransformer(tt.encoding, tt.replace)))
Expand Down

0 comments on commit e5d0dbd

Please sign in to comment.