test/helper.rb in tracksperanto-1.9.8 vs test/helper.rb in tracksperanto-1.9.9
- old
+ new
@@ -78,11 +78,10 @@
end
def ensure_same_output(exporter_klass, reference_path, message = "The line should be identical")
if ENV['OVERWRITE']
File.open(reference_path, "w") do | out |
- x = exporter_klass.new(out)
- export_parabolics_with(x)
+ export_parabolics_with(exporter_klass.new(out))
end
end
io = StringIO.new
x = exporter_klass.new(io)
\ No newline at end of file