File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
lib/cucumber/multiline_argument Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ Please visit [cucumber/CONTRIBUTING.md](https://github.com/cucumber/cucumber/blo
15
15
16
16
### Fixed
17
17
- Fixed an issue where a change to one example in compatibility testing wasn't fully adhered to ([ luke-hill] ( https://github.com/luke-hill ) )
18
+ - Fixed an issue for Ruby 3.4.0 where a default hash instantiation was being picked up as keyword arguments ([ Jon Rowe] ( https://github.com/JonRowe ) )
18
19
19
20
### Removed
20
21
- Removed support for Ruby 2.7 ([ luke-hill] ( https://github.com/luke-hill ) )
Original file line number Diff line number Diff line change @@ -75,7 +75,9 @@ def row(row)
75
75
def eof ; end
76
76
end
77
77
78
- NULL_CONVERSIONS = Hash . new ( strict : false , proc : -> ( cell_value ) { cell_value } ) . freeze
78
+ # This is a Hash being initialized with a default value of a Hash, DO NOT REFORMAT TO REMOVE {}
79
+ # Future versions [3.4.0+] of ruby will interpret these as keywords and break.
80
+ NULL_CONVERSIONS = Hash . new ( { strict : false , proc : -> ( cell_value ) { cell_value } } ) . freeze
79
81
80
82
# @param data [Core::Test::DataTable] the data for the table
81
83
# @param conversion_procs [Hash] see map_column
You can’t perform that action at this time.
0 commit comments