Skip to content

test: cover whitespace-only commit message files#23

Merged
aj3sh merged 1 commit into
opensource-nepal:mainfrom
PerceiveWorld:add-whitespace-file-test-17
Jun 7, 2026
Merged

test: cover whitespace-only commit message files#23
aj3sh merged 1 commit into
opensource-nepal:mainfrom
PerceiveWorld:add-whitespace-file-test-17

Conversation

@PerceiveWorld

Copy link
Copy Markdown
Contributor

Summary

  • Add coverage for --file inputs that contain only whitespace.
  • Mirrors the existing positional whitespace-only message abort behavior.

Closes #17

Tests

  • cargo test file_with_whitespace_only_content_aborts could not complete initially because the local Cargo config points crates.io at git://mirrors.ustc.edu.cn/crates.io-index, which refused connections.
  • Retried after temporarily bypassing that mirror; dependency index fetch from upstream did not complete within this run, so no passing local test result is claimed.

@aj3sh
aj3sh merged commit d52ca8a into opensource-nepal:main Jun 7, 2026
1 check passed
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.

test: add file_with_whitespace_only_content_aborts

2 participants