Skip to content

test(fileutil): cover inode stat helper#224

Open
pkurunner wants to merge 1 commit into
ccfos:mainfrom
pkurunner:codex/test-fileutil-223
Open

test(fileutil): cover inode stat helper#224
pkurunner wants to merge 1 commit into
ccfos:mainfrom
pkurunner:codex/test-fileutil-223

Conversation

@pkurunner

Copy link
Copy Markdown
Contributor

Summary

  • add tests for StatInode success and missing-file error paths

Testing

  • gofmt -w internal/utils/fileutil/fileutil_test.go
  • GOOS=linux GOARCH=amd64 go test -c ./internal/utils/fileutil
  • Not run: go test ./internal/utils/fileutil on Windows is blocked by Unix-only syscall.Stat_t usage.

Fixes #223

Signed-off-by: yeyangyi <2501210756@stu.pku.edu.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[测试]: 为 fileutil StatInode 补充单元测试

1 participant