Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
* test/ruby/envutil.rb : fix a syntax error
  • Loading branch information
robin850 committed Aug 19, 2012
commit bc584d881899b993ab3c992fc28cb9c48734864c
2 changes: 1 addition & 1 deletion test/ruby/envutil.rb
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def assert_warning(*args)
assert_warn(*args) {$VERBOSE = false; yield}
end

def assert_no_memory_leak(args, prepare, code, message=nil, limit: 1.5)
def assert_no_memory_leak(args, prepare, code, message=nil, limit = 1.5)
token = "\e[7;1m#{$$.to_s}:#{Time.now.strftime('%s.%L')}:#{rand(0x10000).to_s(16)}:\e[m"
token_dump = token.dump
token_re = Regexp.quote(token)
Expand Down