fixed some tests

This commit is contained in:
yusing
2025-01-29 09:40:37 +08:00
parent 60f83bb7bf
commit e3e3f1dfdc
5 changed files with 28 additions and 33 deletions

View File

@@ -39,11 +39,6 @@ func TestParseCommands(t *testing.T) {
input: "rewrite / / /",
wantErr: ErrInvalidArguments,
},
{
name: "rewrite_no_leading_slash",
input: "rewrite abc /",
wantErr: ErrInvalidArguments,
},
// serve tests
{
name: "serve_valid",