Skip to content

Remove duplicate MULTIBYTE definition from spec - #113

Open
wtn wants to merge 1 commit into
socketry:mainfrom
wtn:duplicate
Open

wtn wants to merge 1 commit into
socketry:mainfrom
wtn:duplicate

Conversation

@wtn

@wtn wtn commented Oct 26, 2026

Copy link
Copy Markdown

spec_helper.rb defines MULTIBYTE, and .rspec loads spec_helper for every run. composite_read_io_spec.rb defined it a second time, so with --warnings each run printed:

spec/multipart/post/composite_read_io_spec.rb:17: warning: already initialized constant MULTIBYTE
spec/spec_helper.rb:10: warning: previous definition of MULTIBYTE was here

Both point at spec/fixtures/multibyte.txt, so this removes the one in composite_read_io_spec.rb.

Types of Changes

  • Maintenance.

Contribution

This branch has not been deployed

No deployments
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