lib/benchmark_driver/struct.rb in benchmark_driver-0.15.8 vs lib/benchmark_driver/struct.rb in benchmark_driver-0.15.9

- old
+ new

@@ -3,11 +3,11 @@ # * Default value configuration # * Deeply freezing members module BenchmarkDriver class ::Struct SUPPORT_KEYWORD_P = begin - ::Struct.new(:a, keyword_init: true) - true + s = ::Struct.new(:a, keyword_init: true) + s.new(a: 1).a == 1 rescue TypeError false end end