spec/unit/formatter/mean_byte_spec.rb in tty-progressbar-0.10.1 vs spec/unit/formatter/mean_byte_spec.rb in tty-progressbar-0.11.0
- old
+ new
@@ -22,12 +22,12 @@
progress.advance(i * 1000)
end
output.rewind
expect(output.read).to eq([
"\e[1G0B",
- "\e[1G500.0B",
- "\e[1G750.0B",
- "\e[1G1000.0B",
+ "\e[1G500B",
+ "\e[1G750B",
+ "\e[1G1000B",
"\e[1G1.22KB\n"
].join)
Timecop.return
end
end