Permalink
Browse files

Can't convert Fixnum into String error fix in lilu_perf_spec.rb

  • Loading branch information...
1 parent b7de4d3 commit bbbb6c113fde2ec9bcda47dc9dfa40ed9a10fe48 @EugZol EugZol committed May 31, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 benchmarks/lilu_perf_spec.rb
@@ -101,7 +101,7 @@
result = RubyProf.stop
printer = RubyProf::GraphHtmlPrinter.new(result)
f = File.new('populate_result.html','w')
- printer.print(f, 1)
+ printer.print(f, '1')
f.close
}
end
@@ -181,10 +181,10 @@
result = RubyProf.stop
printer = RubyProf::GraphHtmlPrinter.new(result)
f = File.new('update_result.html','w')
- printer.print(f, 1)
+ printer.print(f, '1')
f.close
}
end
end
-end
+end

0 comments on commit bbbb6c1

Please sign in to comment.