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

test: use hash explicitly for Struct initializer for ruby 3.2 #9237

Merged
merged 1 commit into from Dec 29, 2022

Commits on Dec 29, 2022

  1. test: use hash explicitly for Struct initializer for ruby 3.2

    ruby 3.2 changes Struct.new behavior so that keyword_init option is
    enabled by default. This means that keyword argument passed to
    the initializer of Struct is now treated differently with ruby3.2.
    
    To avoid behavior change in jekyll test code, use hash explicitly.
    
    Fixes jekyll#9236 .
    mtasaka committed Dec 29, 2022
    Copy the full SHA
    08b4964 View commit details
    Browse the repository at this point in the history