fat32 tests expected data auto-generated #469
Annotations
10 errors and 2 warnings
filesystem/fat32/common_test.go#L50
regexpSimplify: can re-write `\s*Written:\s+(\d\d\d\d-\d\d-\d\d\s+\d\d:\d\d:\d\d)` as `\s*Written:\s+(\d{4}-\d\d-\d\d\s+\d\d:\d\d:\d\d)` (gocritic)
|
filesystem/fat32/common_test.go#L51
regexpSimplify: can re-write `\s*Accessed:\s+(\d\d\d\d-\d\d-\d\d\s+\d\d:\d\d:\d\d)` as `\s*Accessed:\s+(\d{4}-\d\d-\d\d\s+\d\d:\d\d:\d\d)` (gocritic)
|
filesystem/fat32/common_test.go#L52
regexpSimplify: can re-write `\s*Created:\s+(\d\d\d\d-\d\d-\d\d\s+\d\d:\d\d:\d\d)` as `\s*Created:\s+(\d{4}-\d\d-\d\d\s+\d\d:\d\d:\d\d)` (gocritic)
|
filesystem/fat32/common_test.go#L59
regexpSimplify: can re-write `^\s*(\d+) sectors\/track, (\d+) heads\s*$` as `^\s*(\d+) sectors/track, (\d+) heads\s*$` (gocritic)
|
filesystem/fat32/common_test.go#L246
unslice: could simplify dirEntries[:] to dirEntries (gocritic)
|
filesystem/fat32/directory_internal_test.go#L16
commentFormatting: put a space between `//` and comment text (gocritic)
|
filesystem/fat32/common_test.go#L314
cyclomatic complexity 41 of func `testReadFilesystemData` is high (> 30) (gocyclo)
|
filesystem/fat32/common_test.go#L104
unexported-return: exported func GetValidDirectoryEntries returns unexported type []*fat32.directoryEntry, which can be annoying to use (revive)
|
filesystem/fat32/common_test.go#L141
unexported-return: exported func GetValidDirectoryEntriesExtended returns unexported type []*fat32.directoryEntry, which can be annoying to use (revive)
|
filesystem/fat32/common_test.go#L318
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading