Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
c9145ad4
Commit
c9145ad4
authored
Apr 01, 2026
by
erio
Browse files
fix: golangci-lint test assertion and gofmt
parent
3851628a
Changes
2
Show whitespace changes
Inline
Side-by-side
backend/internal/handler/admin/channel_handler_test.go
View file @
c9145ad4
...
...
@@ -493,7 +493,7 @@ func TestValidatePricingBillingMode(t *testing.T) {
err
:=
validatePricingBillingMode
(
tt
.
pricing
)
if
tt
.
wantErr
{
require
.
Error
(
t
,
err
)
require
.
Contains
(
t
,
err
.
Error
(),
"
P
er-request price or intervals required"
)
require
.
Contains
(
t
,
err
.
Error
(),
"
p
er-request price or intervals required"
)
}
else
{
require
.
NoError
(
t
,
err
)
}
...
...
backend/internal/service/openai_gateway_service.go
View file @
c9145ad4
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment