Skip to content

Commit cccdda7

Browse files
committed
improve tests
1 parent 79108ad commit cccdda7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

docs/changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
2025/04/09
44
* 完善object_hash(感谢兆坤提供补丁)
5+
* 修复拼写错误(感谢兆坤提供补丁)
56

67
2025/04/03
78
* 完善tree(感谢兆坤提供补丁)

tests/object_default_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ static ret_t visit_test_busy(void* ctx, const void* data) {
199199
return RET_OK;
200200
}
201201

202-
TEST(ObjectDefault, visis_remove) {
202+
TEST(ObjectDefault, visit_remove) {
203203
value_t v;
204204
string log;
205205
tk_object_t* obj = object_default_create();

tests/object_hash_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ static ret_t visit_test_busy(void* ctx, const void* data) {
200200
return RET_OK;
201201
}
202202

203-
TEST(ObjectHash, visis_remove) {
203+
TEST(ObjectHash, visit_remove) {
204204
value_t v;
205205
string log;
206206
tk_object_t* obj = object_hash_create();

0 commit comments

Comments
 (0)