Skip to content

Add guard to check presence of @config['encoding'] - #1

Merged
ttrmw merged 1 commit into
ttrmw:masterfrom
pajw:master
Sep 15, 2022
Merged

ttrmw merged 1 commit into
ttrmw:masterfrom
pajw:master

Conversation

@pajw

@pajw pajw commented Aug 21, 2022 •

Copy link
Copy Markdown

Adds a guard to check for the presence of @config['encoding']. This fixes the failing Ruby 3 tests on sds#786

I didn't think it worth adding a test when no encoding key is present, as the other tests implicitly check the unhappy path.

@ttrmw
ttrmw merged commit 7ff0f7a into ttrmw:master Sep 15, 2022
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