test/bits_test.rb in bindata-2.4.8 vs test/bits_test.rb in bindata-2.4.9

- old
+ new

@@ -99,17 +99,17 @@ start = 1 end (start .. 64).each do |nbits| name = "#{base}#{nbits}" - name << "le" if endian == :little + name += "le" if endian == :little obj = BinData.const_get(name).new bits << [obj, nbits] end (start .. 64).each do |nbits| name = "#{base}" - name << "Le" if endian == :little + name += "Le" if endian == :little obj = BinData.const_get(name).new(nbits: nbits) bits << [obj, nbits] end bits