Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make test/assert.rb cruby compatible

  • Loading branch information...
commit 0a4010728a85669c8f6ea4fffa53cc303f11c68a 1 parent 2bda965
@Fleurer Fleurer authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 test/assert.rb
View
5 test/assert.rb
@@ -9,10 +9,11 @@ def t_print(*args)
i = 0
len = args.size
while i < len
+ str = args[i].to_s
begin
- __printstr__ args[i].to_s
+ __printstr__ str
rescue NoMethodError
- __t_printstr__ args[i].to_s
+ __t_printstr__ str rescue print str
end
i += 1
end
Please sign in to comment.
Something went wrong with that request. Please try again.