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
aac7dd6b
Commit
aac7dd6b
authored
Dec 31, 2025
by
shaw
Browse files
style: fix gofmt formatting in test file
Remove redundant alignment whitespace before comments.
parent
0ffb3201
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/repository/setting_repo_integration_test.go
View file @
aac7dd6b
...
@@ -124,10 +124,10 @@ func (s *SettingRepoSuite) TestSetMultiple_WithEmptyValues() {
...
@@ -124,10 +124,10 @@ func (s *SettingRepoSuite) TestSetMultiple_WithEmptyValues() {
settings
:=
map
[
string
]
string
{
settings
:=
map
[
string
]
string
{
"site_name"
:
"AICodex2API"
,
"site_name"
:
"AICodex2API"
,
"site_subtitle"
:
"Subscription to API"
,
"site_subtitle"
:
"Subscription to API"
,
"site_logo"
:
""
,
// 用户未上传Logo
"site_logo"
:
""
,
// 用户未上传Logo
"api_base_url"
:
""
,
// 用户未设置API地址
"api_base_url"
:
""
,
// 用户未设置API地址
"contact_info"
:
""
,
// 用户未设置联系方式
"contact_info"
:
""
,
// 用户未设置联系方式
"doc_url"
:
""
,
// 用户未设置文档链接
"doc_url"
:
""
,
// 用户未设置文档链接
}
}
s
.
Require
()
.
NoError
(
s
.
repo
.
SetMultiple
(
s
.
ctx
,
settings
),
"SetMultiple with empty values should succeed"
)
s
.
Require
()
.
NoError
(
s
.
repo
.
SetMultiple
(
s
.
ctx
,
settings
),
"SetMultiple with empty values should succeed"
)
...
...
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