Skip to content

Commit

Permalink
Add function test (#42)
Browse files Browse the repository at this point in the history
* add: add server_test.go

为server.go增加单元测试

* add: add server_test.go

增加单元测试 Test_server_dealWithAuthError

* add: add server_test.go

增加单元测试 Test_server_handleBatch

* edit: edit server_test.go

正则字符串使用``处理,避免转义字符

* edit: edit server_test.go

修改因代码检查出现的问题

* edit: edit server_test.go

修改因代码检查出现的问题

* edit: edit server_test.go

修改因代码检查出现的超大圈复杂度问题

* edit: edit server_test.go

增加单元测试
Test_server_key
Test_server_uploadObject

* edit: edit server_test.go

修改门禁问题

* edit: edit server_test.go

多个const并列时组合到一个。若无逻辑关系按从短到长排列
  • Loading branch information
Zherphy authored Dec 12, 2024
1 parent 94a91df commit 7c9fa01
Showing 1 changed file with 654 additions and 0 deletions.
Loading

0 comments on commit 7c9fa01

Please sign in to comment.