summaryrefslogtreecommitdiff
path: root/spec/support/platforms/prof/gc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/platforms/prof/gc.rb')
-rw-r--r--spec/support/platforms/prof/gc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/platforms/prof/gc.rb b/spec/support/platforms/prof/gc.rb
index b494ff9646..9690e76032 100644
--- a/spec/support/platforms/prof/gc.rb
+++ b/spec/support/platforms/prof/gc.rb
@@ -24,7 +24,7 @@ module RSpec
# GC 1 invokes.
# Index Invoke Time(sec) Use Size(byte) Total Size(byte) Total Object GC time(ms)
# 1 0.012 159240 212940 10647 0.00000000000001530000
- LINE_PATTERN = /^\s+([\d\.]*)\s+([\d\.]*)\s+([\d\.]*)\s+([\d\.]*)\s+([\d\.]*)\s+([\d\.]*)$/
+ LINE_PATTERN = /^\s+([\d\.]*)\s+([\d\.]*)\s+([\d\.]*)\s+([\d\.]*)\s+([\d\.]*)\s+([\d\.]*)$/.freeze
def start
::GC::Profiler.enable unless ::GC::Profiler.enabled?