Skip to content

Silence encoding warnings in specs#857

Merged
rafaelfranca merged 1 commit into
rails:mainfrom
p8:silence-encoding-warning
Aug 21, 2023
Merged

Silence encoding warnings in specs#857
rafaelfranca merged 1 commit into
rails:mainfrom
p8:silence-encoding-warning

Conversation

@p8

@p8 p8 commented Aug 9, 2023

Copy link
Copy Markdown
Member

Setting Encoding.default_external prints a warning when running specs:

 warning: setting Encoding.default_external

Wrapping this with a silence_warnings block, silences the warnings.

Setting `Encoding.default_external` prints a warning when running specs:

   warning: setting Encoding.default_external

Wrapping this with a `silence_warnings` block, silences the warnings.
@p8 p8 force-pushed the silence-encoding-warning branch from 3af5005 to 2ef9fd7 Compare August 9, 2023 19:26
@rafaelfranca rafaelfranca merged commit d9efc81 into rails:main Aug 21, 2023
@p8 p8 deleted the silence-encoding-warning branch August 21, 2023 20:18
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.

2 participants