Skip to content

fix: repair bcos formula test block#9

Open
pengshenghai wants to merge 1 commit into
Scottcjn:mainfrom
pengshenghai:codex/fix-bcos-test-write-file
Open

fix: repair bcos formula test block#9
pengshenghai wants to merge 1 commit into
Scottcjn:mainfrom
pengshenghai:codex/fix-bcos-test-write-file

Conversation

@pengshenghai

Copy link
Copy Markdown

Summary

  • replace the unsupported write_file call in the BCOS formula test block with Pathname#write
  • remove || true from test commands so brew test does not mask failures
  • compare the CLI version output with version.to_s instead of hard-coding 1.8.0

Scope

This only changes Formula/bcos.rb test-block behavior. It does not alter the tarball URL, SHA, install block, package source, or formula metadata.

Validation

  • ruby -c Formula/bcos.rb -> Syntax OK
  • git diff --check -- Formula/bcos.rb -> passed (Windows line-ending warning only)

I could not run brew test in this Windows workspace because Homebrew is not installed here.

AI assistance

Implemented with OpenAI Codex assistance after reading issue #8 and the current formula.

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.

1 participant