Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to load WEBrick for testing #833

Merged
merged 1 commit into from
Sep 3, 2021
Merged

Try to load WEBrick for testing #833

merged 1 commit into from
Sep 3, 2021

Conversation

voxik
Copy link
Contributor

@voxik voxik commented Sep 1, 2021

This is in similar vein Rake is optionally loaded in:

begin
require 'rake'
rescue LoadError
end

@voxik
Copy link
Contributor Author

voxik commented Sep 1, 2021

Actually, both would deserve if there was some message provided when the require fails 🤔 similarly to:

def test_load_existent_po
begin
require 'gettext/po_parser'
rescue LoadError
omit 'gettext gem is not found'
end

@hsbt hsbt merged commit 3da151f into ruby:master Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants