test/bits_test.rb in bindata-2.3.3 vs test/bits_test.rb in bindata-2.3.4
- old
+ new
@@ -107,10 +107,10 @@
end
(start .. 64).each do |nbits|
name = "#{base}"
name << "Le" if endian == :little
- obj = BinData.const_get(name).new(:nbits => nbits)
+ obj = BinData.const_get(name).new(nbits: nbits)
bits << [obj, nbits]
end
bits
end