spec/models/data_grid_spec.rb in marty-8.2.0 vs spec/models/data_grid_spec.rb in marty-8.3.1

- old
+ new

@@ -931,10 +931,10 @@ # rubocop:disable Style/NestedTernaryOperator type_str = type == 'float' ? (explicit_float ? 'float' : nil) : type # rubocop:enable Style/NestedTernaryOperator con_part = constraint.present? ? "\t" + constraint : '' top = [lenient_str, type_str].compact.join(' ') + con_part + "\n" - (top =~ /\A\s*\z/ ? '' : top) + + (/\A\s*\z/.match?(top) ? '' : top) + <<~EOS b\tboolean\tv i\tinteger\tv i4\tint4range\tv n\tnumrange\tv