mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 06:42:25 -05:00
remove unused code
This commit is contained in:
parent
ef2adf12aa
commit
7f5eac3e7a
1 changed files with 0 additions and 4 deletions
|
|
@ -24,7 +24,6 @@ import (
|
|||
"io"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"regexp"
|
||||
"slices"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
|
@ -40,9 +39,6 @@ import (
|
|||
"github.com/superseriousbusiness/gotosocial/internal/router"
|
||||
)
|
||||
|
||||
var challengeRegexp = regexp.MustCompile("data-nollamas-challenge=\".+\"")
|
||||
var difficultyRegexp = regexp.MustCompile("data-nollamas-difficulty=\".+\"")
|
||||
|
||||
func TestNoLLaMasMiddleware(t *testing.T) {
|
||||
// Gin test engine.
|
||||
e := gin.New()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue