diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-18 18:34:25 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-18 18:34:25 -0700 |
commit | 616bc42fd7675a42e8bd461855385d9a2b0cf5e3 (patch) | |
tree | 179df82ea3cdff0a0274324413f8f9be11e258af /activesupport | |
parent | 90a9a7013ca733c6414d8ec6ababae2c65ad7c99 (diff) | |
download | rails-616bc42fd7675a42e8bd461855385d9a2b0cf5e3.tar.gz rails-616bc42fd7675a42e8bd461855385d9a2b0cf5e3.tar.bz2 rails-616bc42fd7675a42e8bd461855385d9a2b0cf5e3.zip |
Performance: tweak unsupported metric error message
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/testing/performance.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/performance.rb b/activesupport/lib/active_support/testing/performance.rb index 9f85bca716..ee09b301ba 100644 --- a/activesupport/lib/active_support/testing/performance.rb +++ b/activesupport/lib/active_support/testing/performance.rb @@ -44,7 +44,7 @@ module ActiveSupport run_profile(klass.new) result.add_run else - $stderr.puts "Skipping unknown metric #{metric_name.inspect}. Expected :process_time, :wall_time, :cpu_time, :memory, or :objects." + $stderr.puts '%20s: unsupported' % metric_name.to_s end end |