Skip to content

Commit

Permalink
Merge pull request #136 from dominikschulz/fix/lint
Browse files Browse the repository at this point in the history
[chore] fix asset.Regexp lint error
  • Loading branch information
dominikschulz authored Nov 15, 2024
2 parents e6f6c33 + b1dcbc4 commit 912485d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/jsonapi/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"context"
"encoding/binary"
"fmt"
"regexp"
"strings"
"testing"
"time"
Expand Down Expand Up @@ -371,7 +370,7 @@ func runRespondRawMessages(t *testing.T, requests []verifiedRequest, secrets []s
require.NoError(t, err)
outputMessage := readAndVerifyMessageLength(t, outbuf.Bytes())
assert.NotEqual(t, "", request.OutputRegexpStr, "Empty string would match any output")
assert.Regexp(t, regexp.MustCompile(request.OutputRegexpStr), outputMessage)
assert.Regexp(t, request.OutputRegexpStr, outputMessage)
}
}

Expand Down

0 comments on commit 912485d

Please sign in to comment.